public class RelatedSystem extends Object
Element of RFSystem
Example:
<RelatedSystem> <Relation cls="U">HasChild</Relation> <Serial cls="U">USA:AR:TR:05008827</Serial> </RelatedSystem>
| Constructor and Description |
|---|
RelatedSystem() |
| Modifier and Type | Method and Description |
|---|---|
TString |
getRelation()
Get the relationship between the two systems..
|
RFSystem |
getRfSystem()
Get the reference of the System associated with the current System..
|
Serial |
getSerial()
Deprecated.
SSRF references are managed automatically. Use
getRfSystem() instead. |
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetRelation()
Determine if the Relation is configured.
|
boolean |
isSetRfSystem()
Determine if the rfSystem field is configured.
|
boolean |
isSetSerial()
Determine if the Serial is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this RelatedSystem record after
loading from XML.
|
void |
prepare()
Update the SSRF data type references in this RelatedSystem record.
|
void |
setRelation(TString value)
Set the relationship between the two systems..
|
void |
setSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
#setRfSystem(RFSystem) instead. |
String |
toString()
Get a string representation of this RelatedSystem instance configuration.
|
RelatedSystem |
withRelation(ListCFR value)
Set the relationship between the two systems.
|
RelatedSystem |
withRfSystem(RFSystem value)
Set the reference of the System associated with the current System.
|
RelatedSystem |
withSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
withRfSystem(RFSystem) instead. |
public TString getRelation()
TString data typepublic void setRelation(TString value)
value - the Relation value in a TString data typepublic boolean isSetRelation()
If configured this method also inspects the TString wrapped value.
@Deprecated public Serial getSerial()
getRfSystem() instead.Serial instance@Deprecated public void setSerial(Serial value)
#setRfSystem(RFSystem) instead.value - a Serial instancepublic boolean isSetSerial()
public RelatedSystem withRelation(ListCFR value)
value - An instances of type ListCFR.@Deprecated public RelatedSystem withSerial(Serial value)
withRfSystem(RFSystem) instead.value - An instances of type Serial.public String toString()
public boolean isSet()
RelatedSystem requires
Relation, Serial.
Note that this method only checks for the presence of required information; this method does not validate the information format.
public RFSystem getRfSystem()
RFSystem instancepublic boolean isSetRfSystem()
public RelatedSystem withRfSystem(RFSystem value)
value - An instances of type RFSystem.public void prepare()
This method builds the exported serial field with values from the
transient rfSystem field. This method should typically be called
after the RelatedSystem is configured and (optionally) before exporting an
SSRF message.
public void postLoad(SSRF root)
This method builds the transient rfSystem with values from the
imported serial field. This method should typically be called
after the RelatedSystem is imported from XML. * @param root the SSRF root
instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.