public class CountryRefStructure extends Object
Java class for CountryRefStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CountryRefStructure">
<simpleContent>
<extension base="<http://www.netex.org.uk/netex>CountryPrincipalityCodeType">
<attribute name="ref" type="{http://www.netex.org.uk/netex}CountryCodeType" />
<attribute name="refPrincipality" type="{http://www.netex.org.uk/netex}CountryPrincipalityCodeType" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected IanaCountryTldEnumeration |
ref |
protected String |
refPrincipality |
protected String |
value |
| Constructor and Description |
|---|
CountryRefStructure() |
| Modifier and Type | Method and Description |
|---|---|
IanaCountryTldEnumeration |
getRef()
Gets the value of the ref property.
|
String |
getRefPrincipality()
Gets the value of the refPrincipality property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setRef(IanaCountryTldEnumeration value)
Sets the value of the ref property.
|
void |
setRefPrincipality(String value)
Sets the value of the refPrincipality property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
CountryRefStructure |
withRef(IanaCountryTldEnumeration value) |
CountryRefStructure |
withRefPrincipality(String value) |
CountryRefStructure |
withValue(String value) |
protected String value
protected IanaCountryTldEnumeration ref
protected String refPrincipality
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic IanaCountryTldEnumeration getRef()
IanaCountryTldEnumerationpublic void setRef(IanaCountryTldEnumeration value)
value - allowed object is
IanaCountryTldEnumerationpublic String getRefPrincipality()
Stringpublic void setRefPrincipality(String value)
value - allowed object is
Stringpublic CountryRefStructure withValue(String value)
public CountryRefStructure withRef(IanaCountryTldEnumeration value)
public CountryRefStructure withRefPrincipality(String value)
Copyright © 2018 Entur AS. All rights reserved.