public class POCInformation extends Object
Element of
Allotment
, Antenna
, Assignment
, ForceElement
, IntfReport
, JRFLEntry
, Location
, RFSystem
, Receiver
, SSRequest
, Station
, Transmitter
Example:
<POCInformation> <Serial cls="U">USA:123:CN:98765</Serial> <Type cls="U">Project Engineer</Type> <Description cls="U">Bldg 120, Room 410</Description> </POCInformation>
Constructor and Description |
---|
POCInformation() |
Modifier and Type | Method and Description |
---|---|
MEMO |
getDescription()
Get free text Contact information for legacy applications.
|
Common<?> |
getPoc()
Get the dataset identifier of the Contact, Organisation, or Role..
|
Serial |
getSerial()
Deprecated.
SSRF references are managed automatically. Use
getPoc() instead. |
TString |
getType()
Get the function of the referenced Contact or Organisation within the
current dataset..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetDescription()
Determine if the Description is configured.
|
boolean |
isSetPoc()
Determine if the poc field is configured.
|
boolean |
isSetSerial()
Determine if the Serial is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this POCInformation record after
loading from XML.
|
void |
prepare()
Update the SSRF data type references in this POCInformation record.
|
void |
setDescription(MEMO value)
Set free text Contact information for legacy applications.
|
void |
setSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
#setPoc(Common) instead. |
void |
setType(TString value)
Set the function of the referenced Contact or Organisation within the
current dataset..
|
String |
toString()
Get a string representation of this POCInformation instance configuration.
|
POCInformation |
withDescription(String value)
Set free text Contact information for legacy applications.
|
POCInformation |
withPoc(Common<?> value)
Set the dataset identifier of the Contact, Organisation, or Role.
|
POCInformation |
withSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
withPoc(Common) instead. |
POCInformation |
withType(ListCCI value)
Set the function of the referenced Contact or Organisation within the
current dataset.
|
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 getSerial()
getPoc()
instead.Serial
instance@Deprecated public void setSerial(Serial value)
#setPoc(Common)
instead.value
- a Serial
instancepublic boolean isSetSerial()
public MEMO getDescription()
MEMO
instancepublic void setDescription(MEMO value)
value
- a MEMO
instancepublic boolean isSetDescription()
public POCInformation withType(ListCCI value)
value
- An instances of type ListCCI
.@Deprecated public POCInformation withSerial(Serial value)
withPoc(Common)
instead.value
- An instances of type Serial
.public POCInformation withDescription(String value)
value
- An instances of type String
.public String toString()
public boolean isSet()
POCInformation
requires Type
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
public Common<?> getPoc()
Common
instancepublic boolean isSetPoc()
public POCInformation withPoc(Common<?> value)
value
- An instances of type Common>
.public void prepare()
This method builds the exported serial
field with values from the
transient poc
field. This method should typically be called after
the POCInformation is configured and (optionally) before exporting an SSRF
message.
public void postLoad(SSRF root)
This method builds the transient poc
with values from the imported
serial
field. This method should typically be called after the
POCInformation is imported from XML. * @param root the SSRF root instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.