public class District extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.geojsf.org/government}region"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected Long |
id |
protected String |
name |
protected Region |
region |
| Constructor and Description |
|---|
District() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the value of the code property.
|
long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
Region |
getRegion()
Gets the value of the region property.
|
boolean |
isSetCode() |
boolean |
isSetId() |
boolean |
isSetName() |
boolean |
isSetRegion() |
void |
setCode(String value)
Sets the value of the code property.
|
void |
setId(long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRegion(Region value)
Sets the value of the region property.
|
void |
unsetId() |
protected Region region
protected Long id
protected String code
protected String name
public Region getRegion()
Regionpublic void setRegion(Region value)
value - allowed object is
Regionpublic boolean isSetRegion()
public long getId()
Longpublic void setId(long value)
value - allowed object is
Longpublic boolean isSetId()
public void unsetId()
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic boolean isSetCode()
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
Copyright © 2016. All rights reserved.