Package com.softlayer.api.service.locale
Class StateProvince
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.locale.StateProvince
-
@ApiType("SoftLayer_Locale_StateProvince") public class StateProvince extends Entity
This object represents a state or province for a country.- See Also:
- SoftLayer_Locale_StateProvince
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateProvince.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
longName
protected boolean
longNameSpecified
protected String
shortName
protected boolean
shortNameSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description StateProvince()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLongName()
String
getShortName()
boolean
isLongNameSpecified()
boolean
isShortNameSpecified()
void
setLongName(String longName)
void
setShortName(String shortName)
void
unsetLongName()
void
unsetShortName()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
longName
@ApiProperty(canBeNullOrNotSet=true) protected String longName
-
longNameSpecified
protected boolean longNameSpecified
-
shortName
@ApiProperty(canBeNullOrNotSet=true) protected String shortName
-
shortNameSpecified
protected boolean shortNameSpecified
-
-
Method Detail
-
getLongName
public String getLongName()
-
setLongName
public void setLongName(String longName)
-
isLongNameSpecified
public boolean isLongNameSpecified()
-
unsetLongName
public void unsetLongName()
-
getShortName
public String getShortName()
-
setShortName
public void setShortName(String shortName)
-
isShortNameSpecified
public boolean isShortNameSpecified()
-
unsetShortName
public void unsetShortName()
-
-