Constructor and Description |
---|
ExtReferenceRef() |
Modifier and Type | Method and Description |
---|---|
ListCCL |
getCls()
Get the classification of the current data item.
|
ExternalReference |
getExternalReference()
Get a value that is most probably correct..
|
BigInteger |
getIdx()
Get a unique index for each External Reference used by this Dataset.
|
String |
getValue()
Deprecated.
SSRF references are managed automatically. Use
getExternalReference() instead. |
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetCls()
Determine if the Cls is configured.
|
boolean |
isSetExternalReference()
Determine if the externalReference field is configured.
|
boolean |
isSetIdx()
Determine if the Idx is configured.
|
boolean |
isSetValue()
Determine if the Value is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this ExtReferenceRef record after
loading from XML.
|
void |
prepare()
Update the SSRF data type references in this ExtReferenceRef record.
|
void |
setCls(ListCCL value)
Set the classification of the current data item.
|
void |
setIdx(BigInteger value)
Set a unique index for each External Reference used by this Dataset.
|
void |
setValue(String value)
Deprecated.
SSRF references are managed automatically. Use
#setExternalReference(ExternalReference) instead. |
String |
toString()
Get a string representation of this ExtReferenceRef instance configuration.
|
ExtReferenceRef |
withCls(ListCCL value)
Set the classification of the current data item.
|
ExtReferenceRef |
withExternalReference(ExternalReference value)
Set a value that is most probably correct.
|
ExtReferenceRef |
withIdx(Integer value)
Set a unique index for each External Reference used by this Dataset.
|
ExtReferenceRef |
withValue(String value)
Deprecated.
SSRF references are managed automatically. Use
withExternalReference(ExternalReference) instead. |
@Deprecated public String getValue()
getExternalReference()
instead.String
instance@Deprecated public void setValue(String value)
#setExternalReference(ExternalReference)
instead.value
- a String
instancepublic boolean isSetValue()
public ListCCL getCls()
ListCCL
instancepublic void setCls(ListCCL value)
value
- a ListCCL
instancepublic boolean isSetCls()
public BigInteger getIdx()
BigInteger
instancepublic void setIdx(BigInteger value)
value
- a BigInteger
instancepublic boolean isSetIdx()
@Deprecated public ExtReferenceRef withValue(String value)
withExternalReference(ExternalReference)
instead.value
- An instances of type String
.public ExtReferenceRef withCls(ListCCL value)
value
- An instances of type ListCCL
.public ExtReferenceRef withIdx(Integer value)
value
- An instances of type BigInteger
.public String toString()
public boolean isSet()
ExtReferenceRef
requires
cls
, idx
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
public ExternalReference getExternalReference()
ExternalReference
instancepublic boolean isSetExternalReference()
public ExtReferenceRef withExternalReference(ExternalReference value)
value
- An instances of type ExternalReference
.public void prepare()
This method builds the exported value
field with values from the
transient externalReference
field. This method should typically be
called after the ExtReferenceRef is configured and (optionally) before
exporting an SSRF message.
public void postLoad(SSRF root)
This method builds the transient externalReference
with values
from the imported value
field. This method should typically be
called after the ExtReferenceRef is imported from XML. * @param root the
SSRF root instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.