public class RelatedSupportability extends Object
Element of SSRequest
Example:
<RelatedSupportability> <Type cls="U">Related</Type> <SSRequestRef cls="U">USA:NTIA:SR:123</SSRequestRef> </RelatedSupportability>
Constructor and Description |
---|
RelatedSupportability() |
Modifier and Type | Method and Description |
---|---|
S15 |
getJ12Number()
Get the US Military Communications-Electronics Board (MCEB) identifier of a
superseded or related application..
|
SSRequest |
getSsRequest()
Get a Serial reference to a superseded or related SSRequest application..
|
Serial |
getSSRequestRef()
Get a Serial reference to a superseded or related SSRequest application..
|
TString |
getType()
Get the type of dependency between the current dataset and the referred
application..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetJ12Number()
Determine if the J12Number is configured.
|
boolean |
isSetSsRequest()
Determine if the ssRequest field is configured.
|
boolean |
isSetSSRequestRef()
Determine if the SSRequestRef is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this RelatedSupportability record
after loading from XML.
|
void |
prepare()
Update the SSRF data type references in this RelatedSupportability record.
|
void |
setJ12Number(S15 value)
Set the US Military Communications-Electronics Board (MCEB) identifier of a
superseded or related application..
|
void |
setSSRequestRef(Serial value)
Set a Serial reference to a superseded or related SSRequest application..
|
void |
setType(TString value)
Set the type of dependency between the current dataset and the referred
application..
|
String |
toString()
Get a string representation of this RelatedSupportability instance
configuration.
|
RelatedSupportability |
withJ12Number(String value)
Set the US Military Communications-Electronics Board (MCEB) identifier of a
superseded or related application.
|
RelatedSupportability |
withSsRequest(SSRequest value)
Set a Serial reference to a superseded or related SSRequest application.
|
RelatedSupportability |
withSSRequestRef(Serial value)
Set a Serial reference to a superseded or related SSRequest application.
|
RelatedSupportability |
withType(ListCDD value)
Set the type of dependency between the current dataset and the referred
application.
|
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.
public Serial getSSRequestRef()
Serial
instancepublic void setSSRequestRef(Serial value)
value
- a Serial
instancepublic boolean isSetSSRequestRef()
public S15 getJ12Number()
S15
instancepublic void setJ12Number(S15 value)
value
- a S15
instancepublic boolean isSetJ12Number()
public RelatedSupportability withType(ListCDD value)
value
- An instances of type ListCDD
.public RelatedSupportability withSSRequestRef(Serial value)
value
- An instances of type Serial
.public RelatedSupportability withJ12Number(String value)
value
- An instances of type String
.public String toString()
public boolean isSet()
RelatedSupportability
requires Type
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
public SSRequest getSsRequest()
SSRequest
instancepublic boolean isSetSsRequest()
public RelatedSupportability withSsRequest(SSRequest value)
value
- An instances of type SSRequest
.public void prepare()
This method builds the exported ssRequestRef
field with values
from the transient ssRequest
field. This method should typically
be called after the RelatedSupportability is configured and (optionally)
before exporting an SSRF message.
public void postLoad(SSRF root)
This method builds the transient ssRequest
with values from the
imported ssRequestRef
field. This method should typically be
called after the RelatedSupportability is imported from XML. * @param root
the SSRF root instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.