public class Place extends Object implements XmlNamespaceConstants
<element name="Place" type="xls:NamedPlaceType"> <annotation> <documentation>Place represents a hierarchical set of geographic regions/placenames: country subdivision, country secondary subdivision, municipality, and municipality subdivision.</documentation> </annotation> </element> <complexType name="NamedPlaceType"> <annotation> <documentation>The NamedPlaceType defines a named place within an AddressType. A named place has a classification (such as country, country subdivision, or municipality).</documentation> </annotation> <simpleContent> <extension base="string"> <attribute name="type" type="xls:NamedPlaceClassification" use="required" /> </extension> </simpleContent> </complexType>
OGC_GML_NAMESPACE_PREFIX, OGC_GML_NAMESPACE_URI, OPENLS_NAMESPACE_PREFIX, OPENLS_NAMESPACE_SCHEMALOCATION, OPENLS_NAMESPACE_URI
Constructor and Description |
---|
Place()
Instantiates a new place.
|
Modifier and Type | Method and Description |
---|---|
String |
getPlace()
Gets the place.
|
String |
getType()
Gets the type.
|
boolean |
hasPlace()
Checks for place.
|
boolean |
hasType()
Checks for type.
|
void |
setPlace(String place)
Sets the place.
|
void |
setType(String type)
Sets the type.
|
String |
toXML()
geeft een XML string representatie van dit object.
|
public void setType(String type)
type
- the new typepublic String getType()
public boolean hasType()
public void setPlace(String place)
place
- the new placepublic String getPlace()
public boolean hasPlace()
public String toXML()
XmlNamespaceConstants
toXML
in interface XmlNamespaceConstants
Copyright © 2012–2014 Ministerie EZ. All rights reserved.