
public class Building extends Object implements XmlNamespaceConstants
<element name="Building" type="xls:BuildingLocatorType"
substitutionGroup="xls:_StreetLocation">
<annotation>
<documentation>An addressable place; normally a location on a street: number,
subdivision name and/or building name.</documentation>
</annotation>
</element>
<complexType name="BuildingLocatorType">
<annotation>
<documentation>A type of AbstractStreetLocatorType</documentation>
</annotation>
<complexContent>
<extension base="xls:AbstractStreetLocatorType">
<attribute name="number" type="string" use="optional" />
<attribute name="subdivision" type="string" use="optional" />
<attribute name="buildingName" type="string" use="optional" />
</extension>
</complexContent>
</complexType>
OGC_GML_NAMESPACE_PREFIX, OGC_GML_NAMESPACE_URI, OPENLS_NAMESPACE_PREFIX, OPENLS_NAMESPACE_SCHEMALOCATION, OPENLS_NAMESPACE_URI| Constructor and Description |
|---|
Building()
Instantiates a new building.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBuildingName()
Gets the building name.
|
String |
getNumber()
Gets the number.
|
String |
getSubdivision()
Gets the subdivision.
|
boolean |
hasBuildingName()
Checks for building name.
|
boolean |
hasNumber()
Checks for number.
|
boolean |
hasSubdivision()
Checks for subdivision.
|
void |
setBuildingName(String buildingName)
Sets the building name.
|
void |
setNumber(String number)
Sets the number.
|
void |
setSubdivision(String subdivision)
Sets the subdivision.
|
String |
toXML()
geeft een XML string representatie van dit object.
|
public void setNumber(String number)
number - the new numberpublic String getNumber()
public boolean hasNumber()
public void setSubdivision(String subdivision)
subdivision - the new subdivisionpublic String getSubdivision()
public boolean hasSubdivision()
public void setBuildingName(String buildingName)
buildingName - the new building namepublic String getBuildingName()
public boolean hasBuildingName()
public String toXML()
XmlNamespaceConstantstoXML in interface XmlNamespaceConstantsCopyright © 2012–2014 Ministerie EZ. All rights reserved.