
@Embeddable public class Region extends Object implements Serializable, com.hack23.cia.model.common.api.ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<simpleContent>
<extension base="<http://countries.worldbank.external.model.cia.hack23.com/impl>RegionCategory">
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected RegionCategory |
value |
| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
String |
getId()
Gets the value of the id property.
|
RegionCategory |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setValue(RegionCategory value)
Sets the value of the value property.
|
String |
toString() |
Region |
withId(String value) |
Region |
withValue(RegionCategory value) |
protected RegionCategory value
protected String id
public RegionCategory getValue()
RegionCategorypublic void setValue(RegionCategory value)
value - allowed object is
RegionCategorypublic void setId(String value)
value - allowed object is
Stringpublic Region withValue(RegionCategory value)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodeCopyright © 2010–2017 www.hack23.com. All rights reserved.