Constructor and Description |
---|
EarthStation() |
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Get the serial of the referenced Location..
|
Serial |
getLocationRef()
Deprecated.
SSRF references are managed automatically. Use
getLocation() instead. |
S50 |
getName()
Get the name of an associated earth station..
|
TString |
getType()
Get if this is a specific or typical earth station..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
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 |
isSetType()
Determine if the Type is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this EarthStation record after
loading from XML.
|
void |
prepare()
Update the SSRF data type references in this EarthStation record.
|
void |
setLocationRef(Serial value)
Deprecated.
SSRF references are managed automatically. Use
#setLocation(Location) instead. |
void |
setName(S50 value)
Set the name of an associated earth station..
|
void |
setType(TString value)
Set if this is a specific or typical earth station..
|
String |
toString()
Get a string representation of this EarthStation instance configuration.
|
EarthStation |
withLocation(Location value)
Set the serial of the referenced Location.
|
EarthStation |
withLocationRef(Serial value)
Deprecated.
SSRF references are managed automatically. Use
withLocation(Location) instead. |
EarthStation |
withName(String value)
Set the name of an associated earth station.
|
EarthStation |
withType(ListCEA value)
Set if this is a specific or typical earth station.
|
public S50 getName()
S50
instancepublic void setName(S50 value)
value
- a S50
instancepublic boolean isSetName()
public TString getType()
TString
data typepublic void setType(TString value)
value
- the Type value in a TString
data typepublic boolean isSetType()
If configured this method also inspects the TString
wrapped value.
@Deprecated public Serial getLocationRef()
getLocation()
instead.Serial
instance@Deprecated public void setLocationRef(Serial value)
#setLocation(Location)
instead.value
- a Serial
instancepublic boolean isSetLocationRef()
public EarthStation withName(String value)
value
- An instances of type String
.public EarthStation withType(ListCEA value)
value
- An instances of type ListCEA
.@Deprecated public EarthStation withLocationRef(Serial value)
withLocation(Location)
instead.value
- An instances of type Serial
.public String toString()
public boolean isSet()
EarthStation
has no configuration requirements.
public Location getLocation()
Location
instancepublic boolean isSetLocation()
public EarthStation withLocation(Location value)
value
- 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 EarthStation 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 EarthStation is imported from XML. * @param root the SSRF root
instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.