public class CodeList extends Object
Element of Administrative
Sub-Element is Code
Example:
<CodeList>
<Action cls="U">Add Code</Action>
<CodeListCode cls="U">CAS</CodeListCode>
<EffectiveDate cls="U">2011-12-25</EffectiveDate>
<Code>
<Value cls="U">Jerking</Value>
<Description cls="U">Moving wildly in all directions</Description>
</Code>
</CodeList>
| Constructor and Description |
|---|
CodeList() |
| Modifier and Type | Method and Description |
|---|---|
TString |
getAction()
Get the intended type of modification to the given code list..
|
Set<Code> |
getCode()
Get the three-letter code of an existing Code List to be modified, or an
unused three-letter code in the case of the creation of a new Code List..
|
US3 |
getCodeListCode()
Get the three-letter code of an existing Code List to be modified, or an
unused three-letter code in the case of the creation of a new Code List..
|
MEMO |
getDescription()
Get the description of the intended contents of new code list, and the
element(s) where it will be used..
|
D |
getEffectiveDate()
Get the date by which the dataset is to be operational or effective..
|
TString |
getOrigin()
Get the country or organisation which is using the modified or new code..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetAction()
Determine if the Action is configured.
|
boolean |
isSetCode()
Determine if the Code is configured.
|
boolean |
isSetCodeListCode()
Determine if the CodeListCode is configured.
|
boolean |
isSetDescription()
Determine if the Description is configured.
|
boolean |
isSetEffectiveDate()
Determine if the EffectiveDate is configured.
|
boolean |
isSetOrigin()
Determine if the Origin is configured.
|
void |
setAction(TString value)
Set the intended type of modification to the given code list..
|
void |
setCodeListCode(US3 value)
Set the three-letter code of an existing Code List to be modified, or an
unused three-letter code in the case of the creation of a new Code List..
|
void |
setDescription(MEMO value)
Set the description of the intended contents of new code list, and the
element(s) where it will be used..
|
void |
setEffectiveDate(D value)
Set the date by which the dataset is to be operational or effective..
|
void |
setOrigin(TString value)
Set the country or organisation which is using the modified or new code..
|
String |
toString()
Get a string representation of this CodeList instance configuration.
|
void |
unsetCode()
Clear the Code field.
|
CodeList |
withAction(ListCAC value)
Set the intended type of modification to the given code list.
|
CodeList |
withCode(Code... values)
Set the three-letter code of an existing Code List to be modified, or an
unused three-letter code in the case of the creation of a new Code List.
|
CodeList |
withCode(Collection<Code> values)
Set the three-letter code of an existing Code List to be modified, or an
unused three-letter code in the case of the creation of a new Code List.
|
CodeList |
withCodeListCode(String value)
Set the three-letter code of an existing Code List to be modified, or an
unused three-letter code in the case of the creation of a new Code List.
|
CodeList |
withDescription(String value)
Set the description of the intended contents of new code list, and the
element(s) where it will be used.
|
CodeList |
withEffectiveDate(Calendar value)
Set the date by which the dataset is to be operational or effective.
|
CodeList |
withEffectiveDate(Date value)
Set the date by which the dataset is to be operational or effective.
|
CodeList |
withOrigin(ListCAO value)
Set the country or organisation which is using the modified or new code.
|
public TString getAction()
TString data typepublic void setAction(TString value)
value - the Action value in a TString data typepublic boolean isSetAction()
If configured this method also inspects the TString wrapped value.
public US3 getCodeListCode()
US3 instancepublic void setCodeListCode(US3 value)
value - a US3 instancepublic boolean isSetCodeListCode()
public D getEffectiveDate()
D instancepublic void setEffectiveDate(D value)
value - a D instancepublic boolean isSetEffectiveDate()
public MEMO getDescription()
MEMO instancepublic void setDescription(MEMO value)
value - a MEMO instancepublic boolean isSetDescription()
public TString getOrigin()
TString data typepublic void setOrigin(TString value)
value - the Origin value in a TString data typepublic boolean isSetOrigin()
If configured this method also inspects the TString wrapped value.
public Set<Code> getCode()
Code instancepublic boolean isSetCode()
public void unsetCode()
public CodeList withAction(ListCAC value)
value - An instances of type ListCAC.public CodeList withCodeListCode(String value)
value - An instances of type String.public CodeList withEffectiveDate(Calendar value)
value - An instances of type Calendar.public CodeList withEffectiveDate(Date value)
value - An instances of type Date.public CodeList withDescription(String value)
value - An instances of type String.public CodeList withOrigin(ListCAO value)
value - An instances of type ListCAO.public CodeList withCode(Code... values)
values - One or more instances of type Code....public CodeList withCode(Collection<Code> values)
values - A collection of Code instancespublic String toString()
public boolean isSet()
CodeList requires
Action, CodeListCode, EffectiveDate.
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.