public class Location extends Common<Location>
Sub-Elements are
Ellipse
, POCInformation
, Point
, Polygon
Example: A simple fixed location:
<Location cls="U"> <Serial cls="U">BEL::LO:111</Serial> <EntryDateTime cls="U">2011-12-25T00:00:00Z</EntryDateTime> <Name cls="U">Brussels National Airpt</Name> <Country cls="U">BEL</Country> <Point idx="1"> <Lon cls="U">0050000E</Lon> <Lat cls="U">503600N</Lat> <TerrainElevation cls="U">50</TerrainElevation> </Point> </Location> A triangle* <Location cls="U"> <Serial cls="U">BEL::LO:222</Serial> <EntryDateTime cls="U">2011-12-25T00:00:00Z</EntryDateTime> <Name cls="U">Melsbroek Approach</Name> <Country cls="U">BEL</Country> <Polygon idx="1"> <PolygonPoint sequence="1"> <Lon cls="U">0050000E</Lon> <Lat cls="U">503600N</Lat> </PolygonPoint> <PolygonPoint sequence="2"> <Lon cls="U">0053000E</Lon> <Lat cls="U">503600N</Lat> </PolygonPoint> <PolygonPoint sequence="3"> <Lon cls="U">0053000E</Lon> <Lat cls="U">504000N</Lat> </PolygonPoint> </Polygon> </Location> A composite area with a hole (doughnut):* <Location cls="U"> <Serial cls="U">BEL::LO:333</Serial> <EntryDateTime cls="U">2011-12-25T00:00:00Z</EntryDateTime> <Name cls="U">BEL AF Training North</Name> <Country cls="U">BEL</Country> <Ellipse idx="1"> <Excluded cls="U">Yes</Excluded> <Lon cls="U">0050000E</Lon> <Lat cls="U">503600N</Lat> <SemiMajorAxis cls="U">10</SemiMajorAxis> <SemiMinorAxis cls="U">10</SemiMinorAxis> <Azimuth cls="U">0</Azimuth> </Ellipse> <LocationRef cls="U">BEL::LO:222</LocationRef> </Location>
approvedBy, approvedDateTime, caseNum, cls, description, entryBy, entryByRole, entryDateTime, extReferenceRef, extReferences, idref, lastChangeBy, lastChangeByRole, lastChangeDateTime, lastObservedBy, lastReviewBy, lastReviewByRole, lastReviewDate, legacyReleasability, modAllowedBy, modAllowedByRole, observedFirstDateTime, observedLastDateTime, owner, ownerRole, quality, recommendedValue, redacted, releasability, remarkRef, remarks, securityClass, serial, state
Constructor and Description |
---|
Location()
No arg constructor.
|
Modifier and Type | Method and Description |
---|---|
S50 |
getCityArea()
Get the city of the address or an operational area name..
|
TString |
getCountry()
Get the country or area code.
|
D |
getEffectiveDate()
Get the date by which the dataset is to be operational or effective..
|
Set<Ellipse> |
getEllipse()
Get the Ellipse
|
D |
getExpirationDate()
Get the date at which the dataset will expire.
|
Set<Location> |
getLocation()
Get the serial of the referenced Location..
|
Set<Serial> |
getLocationRef()
Deprecated.
SSRF references are managed automatically. Use
getLocation() instead. |
S100 |
getName()
Get the name of the location..
|
Set<POCInformation> |
getPOCInformation()
Get the POCInformation
|
Set<Point> |
getPoint()
Get the antenna feed point height above the terrain, in metres.
|
Set<Polygon> |
getPolygon()
Get the Polygon
|
S15 |
getPostCode()
Get the zip code or postal code portion of the address..
|
D |
getReviewDate()
Get the date by which the dataset is to be reviewed.
|
S50 |
getStateCounty()
Get the state or other sub-national political area..
|
S255 |
getStreet()
Get the street address..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetCityArea()
Determine if the CityArea is configured.
|
boolean |
isSetCountry()
Determine if the Country is configured.
|
boolean |
isSetEffectiveDate()
Determine if the EffectiveDate is configured.
|
boolean |
isSetEllipse()
Determine if the Ellipse is configured.
|
boolean |
isSetExpirationDate()
Determine if the ExpirationDate is configured.
|
boolean |
isSetLocation()
Determine if the location field is configured.
|
boolean |
isSetLocationRef()
Determine if the LocationRef is configured.
|
boolean |
isSetName()
Determine if the Name is configured.
|
boolean |
isSetPOCInformation()
Determine if the POCInformation is configured.
|
boolean |
isSetPoint()
Determine if the Point is configured.
|
boolean |
isSetPolygon()
Determine if the Polygon is configured.
|
boolean |
isSetPostCode()
Determine if the PostCode is configured.
|
boolean |
isSetReviewDate()
Determine if the ReviewDate is configured.
|
boolean |
isSetStateCounty()
Determine if the StateCounty is configured.
|
boolean |
isSetStreet()
Determine if the Street is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this Location record after loading
from XML.
|
void |
prepare()
Update the SSRF data type references in this Location record.
|
void |
setCityArea(S50 value)
Set the city of the address or an operational area name..
|
void |
setCountry(TString value)
Set the country or area code.
|
void |
setEffectiveDate(D value)
Set the date by which the dataset is to be operational or effective..
|
void |
setExpirationDate(D value)
Set the date at which the dataset will expire.
|
void |
setName(S100 value)
Set the name of the location..
|
void |
setPostCode(S15 value)
Set the zip code or postal code portion of the address..
|
void |
setReviewDate(D value)
Set the date by which the dataset is to be reviewed.
|
void |
setStateCounty(S50 value)
Set the state or other sub-national political area..
|
void |
setStreet(S255 value)
Set the street address..
|
String |
toString()
Get a string representation of this Location instance configuration.
|
void |
unsetEllipse()
Clear the Ellipse field.
|
void |
unsetLocationRef()
Clear the LocationRef field.
|
void |
unsetPOCInformation()
Clear the POCInformation field.
|
void |
unsetPoint()
Clear the Point field.
|
void |
unsetPolygon()
Clear the Polygon field.
|
Location |
withCityArea(String value)
Set the city of the address or an operational area name.
|
Location |
withCountry(ListCAO value)
Set the country or area code.
|
Location |
withEffectiveDate(Calendar value)
Set the date by which the dataset is to be operational or effective.
|
Location |
withEffectiveDate(Date value)
Set the date by which the dataset is to be operational or effective.
|
Location |
withEllipse(Collection<Ellipse> values)
Set the Ellipse
|
Location |
withEllipse(Ellipse... values)
Set the Ellipse
|
Location |
withExpirationDate(Calendar value)
Set the date at which the dataset will expire.
|
Location |
withExpirationDate(Date value)
Set the date at which the dataset will expire.
|
Location |
withLocation(Collection<Location> values)
Set the serial of the referenced Location.
|
Location |
withLocation(Location... values)
Set the serial of the referenced Location.
|
Location |
withLocationRef(Collection<Serial> values)
Deprecated.
SSRF references are managed automatically. Use
withLocation(Location...) instead. |
Location |
withLocationRef(Serial... values)
Deprecated.
SSRF references are managed automatically. Use
withLocation(Location...) instead. |
Location |
withName(String value)
Set the name of the location.
|
Location |
withPOCInformation(Collection<POCInformation> values)
Set the POCInformation
|
Location |
withPOCInformation(POCInformation... values)
Set the POCInformation
|
Location |
withPoint(Collection<Point> values)
Set the antenna feed point height above the terrain, in metres.
|
Location |
withPoint(Point... values)
Set the antenna feed point height above the terrain, in metres.
|
Location |
withPolygon(Collection<Polygon> values)
Set the Polygon
|
Location |
withPolygon(Polygon... values)
Set the Polygon
|
Location |
withPostCode(String value)
Set the zip code or postal code portion of the address.
|
Location |
withReviewDate(Calendar value)
Set the date by which the dataset is to be reviewed.
|
Location |
withReviewDate(Date value)
Set the date by which the dataset is to be reviewed.
|
Location |
withStateCounty(String value)
Set the state or other sub-national political area.
|
Location |
withStreet(String value)
Set the street address.
|
compareTo, equals, getApprovedBy, getApprovedDateTime, getCaseNum, getCls, getDescription, getEntryBy, getEntryByRole, getEntryDateTime, getExtReferenceRef, getExtReferences, getIdref, getLastChangeBy, getLastChangeByRole, getLastChangeDateTime, getLastObservedBy, getLastReviewBy, getLastReviewByRole, getLastReviewDate, getLegacyReleasability, getModAllowedBy, getModAllowedByRole, getObservedFirstDateTime, getObservedLastDateTime, getOwner, getOwnerRole, getQuality, getRecommendedValue, getRedacted, getReleasability, getRemarkRef, getRemarks, getSecurityClass, getSerial, getState, hashCode, isSetApprovedBy, isSetApprovedDateTime, isSetCaseNum, isSetCls, isSetDescription, isSetEntryBy, isSetEntryByRole, isSetEntryDateTime, isSetExtReferenceRef, isSetExtReferences, isSetIdref, isSetLastChangeBy, isSetLastChangeByRole, isSetLastChangeDateTime, isSetLastObservedBy, isSetLastReviewBy, isSetLastReviewByRole, isSetLastReviewDate, isSetLegacyReleasability, isSetModAllowedBy, isSetModAllowedByRole, isSetObservedFirstDateTime, isSetObservedLastDateTime, isSetOwner, isSetOwnerRole, isSetQuality, isSetRecommendedValue, isSetRedacted, isSetReleasability, isSetRemarkRef, isSetRemarks, isSetSecurityClass, isSetSerial, isSetState, setApprovedBy, setApprovedDateTime, setCls, setDescription, setEntryBy, setEntryDateTime, setIdref, setLastChangeBy, setLastChangeDateTime, setLastObservedBy, setLastReviewBy, setLastReviewDate, setLegacyReleasability, setModAllowedBy, setObservedFirstDateTime, setObservedLastDateTime, setOwner, setQuality, setRecommendedValue, setRedacted, setSecurityClass, setSerial, setState, unsetCaseNum, unsetExtReferenceRef, unsetExtReferences, unsetReleasability, unsetRemarkRef, unsetRemarks, withApprovedBy, withApprovedDateTime, withApprovedDateTime, withCaseNum, withCaseNum, withCls, withDescription, withEntryBy, withEntryByRole, withEntryDateTime, withExtReferenceRef, withExtReferenceRef, withExtReferences, withExtReferences, withExtReferences, withIdref, withLastChangeBy, withLastChangeByRole, withLastChangeDateTime, withLastChangeDateTime, withLastObservedBy, withLastReviewBy, withLastReviewByRole, withLastReviewDate, withLastReviewDate, withLegacyReleasability, withModAllowedBy, withModAllowedByRole, withObservedFirstDateTime, withObservedFirstDateTime, withObservedLastDateTime, withObservedLastDateTime, withOwner, withOwnerRole, withQuality, withRecommendedValue, withRedacted, withReleasability, withReleasability, withRemarkRef, withRemarkRef, withRemarkRef, withRemarks, withRemarks, withSecurityClass, withSerial, withState
public Location()
public D getEffectiveDate()
D
instancepublic void setEffectiveDate(D value)
value
- a D
instancepublic boolean isSetEffectiveDate()
public D getExpirationDate()
D
instancepublic void setExpirationDate(D value)
value
- a D
instancepublic boolean isSetExpirationDate()
public D getReviewDate()
D
instancepublic void setReviewDate(D value)
value
- a D
instancepublic boolean isSetReviewDate()
public void setName(S100 value)
value
- a S100
instancepublic boolean isSetName()
public void setStreet(S255 value)
value
- a S255
instancepublic boolean isSetStreet()
public S50 getCityArea()
S50
instancepublic void setCityArea(S50 value)
value
- a S50
instancepublic boolean isSetCityArea()
public S50 getStateCounty()
S50
instancepublic void setStateCounty(S50 value)
value
- a S50
instancepublic boolean isSetStateCounty()
public S15 getPostCode()
S15
instancepublic void setPostCode(S15 value)
value
- a S15
instancepublic boolean isSetPostCode()
public TString getCountry()
TString
data typepublic void setCountry(TString value)
value
- the Country value in a TString
data typepublic boolean isSetCountry()
If configured this method also inspects the TString
wrapped value.
public Set<POCInformation> getPOCInformation()
Complex element POCInformation contains a reference to a Contact, Organisation or Role dataset..
POCInformation
instancepublic boolean isSetPOCInformation()
public void unsetPOCInformation()
public Set<Point> getPoint()
Point
instancepublic boolean isSetPoint()
public void unsetPoint()
public Set<Polygon> getPolygon()
Complex element Polygon is a closed geometric shape on the surface of the Earth, defined by at least three points, used to describe an operational area or an excluded area..
Polygon
instancepublic boolean isSetPolygon()
public void unsetPolygon()
public Set<Ellipse> getEllipse()
Complex element Ellipse on the horizontal plane, defined by its semi-major and semi-minor axis, and by the orientation (azimuth) of the semi-major axis. This element SHALL NOT be used to describe a satellite orbit..
Ellipse
instancepublic boolean isSetEllipse()
public void unsetEllipse()
@Deprecated public Set<Serial> getLocationRef()
getLocation()
instead.Serial
instancepublic boolean isSetLocationRef()
public void unsetLocationRef()
public Location withEffectiveDate(Calendar value)
value
- An instances of type Calendar
.public Location withEffectiveDate(Date value)
value
- An instances of type Date
.public Location withExpirationDate(Calendar value)
value
- An instances of type Calendar
.public Location withExpirationDate(Date value)
value
- An instances of type Date
.public Location withReviewDate(Calendar value)
value
- An instances of type Calendar
.public Location withReviewDate(Date value)
value
- An instances of type Date
.public Location withName(String value)
value
- An instances of type String
.public Location withStreet(String value)
value
- An instances of type String
.public Location withCityArea(String value)
value
- An instances of type String
.public Location withStateCounty(String value)
value
- An instances of type String
.public Location withPostCode(String value)
value
- An instances of type String
.public Location withCountry(ListCAO value)
value
- An instances of type ListCAO
.public Location withPOCInformation(POCInformation... values)
Complex element POCInformation contains a reference to a Contact, Organisation or Role dataset.
values
- One or more instances of type POCInformation...
.public Location withPOCInformation(Collection<POCInformation> values)
Complex element POCInformation contains a reference to a Contact, Organisation or Role dataset.
values
- A collection of POCInformation
instancespublic Location withPoint(Point... values)
values
- One or more instances of type Point...
.public Location withPoint(Collection<Point> values)
values
- A collection of Point
instancespublic Location withPolygon(Polygon... values)
Complex element Polygon is a closed geometric shape on the surface of the Earth, defined by at least three points, used to describe an operational area or an excluded area.
values
- One or more instances of type Polygon...
.public Location withPolygon(Collection<Polygon> values)
Complex element Polygon is a closed geometric shape on the surface of the Earth, defined by at least three points, used to describe an operational area or an excluded area.
values
- A collection of Polygon
instancespublic Location withEllipse(Ellipse... values)
Complex element Ellipse on the horizontal plane, defined by its semi-major and semi-minor axis, and by the orientation (azimuth) of the semi-major axis. This element SHALL NOT be used to describe a satellite orbit.
values
- One or more instances of type Ellipse...
.public Location withEllipse(Collection<Ellipse> values)
Complex element Ellipse on the horizontal plane, defined by its semi-major and semi-minor axis, and by the orientation (azimuth) of the semi-major axis. This element SHALL NOT be used to describe a satellite orbit.
values
- A collection of Ellipse
instances@Deprecated public Location withLocationRef(Serial... values)
withLocation(Location...)
instead.values
- One or more instances of type LocationRef...
.@Deprecated public Location withLocationRef(Collection<Serial> values)
withLocation(Location...)
instead.values
- A collection of Serial
instancespublic String toString()
public boolean isSet()
public Set<Location> getLocation()
Location
instancepublic boolean isSetLocation()
public Location withLocation(Location... values)
values
- An instances of type Location
.public Location withLocation(Collection<Location> values)
values
- An instances of type Location
.public void prepare()
This method builds the exported locationRef
field with values from
the transient location
field. This method should typically be
called after the Location is configured and (optionally) before exporting
an SSRF message.
public void postLoad(SSRF root)
This method builds the transient location
with values from the
imported locationRef
field. This method should typically be called
after the Location is imported from XML.
Copyright © 2016 OpenSSRF.org. All rights reserved.