public class SecurityClass extends Object
Element of Common
Sub-Elements are ClsDerived
, Downgrade
Example:
<Security Class> <ClsAuthority cls="U">DOD Spectrum Data Admin</ClsAuthority > <ClsOrg cls="U">DSO</ClsOrg > <ClsReason cls="U">A G</ClsReason > <DeclsDate cls="U">2014-12-31</DeclsDate > <DeclsEvent cls="U">DECLASSIFY AFTER MISSILE LAUNCH</DeclsEvent > <DeclsType cls="U">DE25X2</DeclsType > <SourceClsDate cls="U">2011-10-19</SourceClsDate > </Security Class>
Constructor and Description |
---|
SecurityClass() |
Modifier and Type | Method and Description |
---|---|
S30 |
getClsAuthority()
Get the identity, by name and position, or by personal identifier, of the
original classification authority..
|
Set<ClsDerived> |
getClsDerived()
Get the US:ClsDerived
|
S30 |
getClsOrg()
Get the organization of the original classification authority..
|
S15 |
getClsReason()
Get the reason(s) for the classification.
|
D |
getDeclsDate()
Get the declassification date for DEDATE and DE25Xn-based declassification
instructions..
|
S200 |
getDeclsEvent()
Get the declassification event, when necessary based on the
declassification instructions..
|
S10 |
getDeclsType()
Get the declassification instructions of the dataset.
|
Set<Downgrade> |
getDowngrade()
Get the US:Downgrade
|
D |
getSourceClsDate()
Get the date this classified dataset was prepared, i.e., the Original
Classification Date..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetClsAuthority()
Determine if the ClsAuthority is configured.
|
boolean |
isSetClsDerived()
Determine if the ClsDerived is configured.
|
boolean |
isSetClsOrg()
Determine if the ClsOrg is configured.
|
boolean |
isSetClsReason()
Determine if the ClsReason is configured.
|
boolean |
isSetDeclsDate()
Determine if the DeclsDate is configured.
|
boolean |
isSetDeclsEvent()
Determine if the DeclsEvent is configured.
|
boolean |
isSetDeclsType()
Determine if the DeclsType is configured.
|
boolean |
isSetDowngrade()
Determine if the Downgrade is configured.
|
boolean |
isSetSourceClsDate()
Determine if the SourceClsDate is configured.
|
void |
setClsAuthority(S30 value)
Set the identity, by name and position, or by personal identifier, of the
original classification authority..
|
void |
setClsOrg(S30 value)
Set the organization of the original classification authority..
|
void |
setClsReason(S15 value)
Set the reason(s) for the classification.
|
void |
setDeclsDate(D value)
Set the declassification date for DEDATE and DE25Xn-based declassification
instructions..
|
void |
setDeclsEvent(S200 value)
Set the declassification event, when necessary based on the
declassification instructions..
|
void |
setDeclsType(S10 value)
Set the declassification instructions of the dataset.
|
void |
setSourceClsDate(D value)
Set the date this classified dataset was prepared, i.e., the Original
Classification Date..
|
String |
toString()
Get a string representation of this SecurityClass instance configuration.
|
void |
unsetClsDerived()
Clear the ClsDerived field.
|
void |
unsetDowngrade()
Clear the Downgrade field.
|
SecurityClass |
withClsAuthority(String value)
Set the identity, by name and position, or by personal identifier, of the
original classification authority.
|
SecurityClass |
withClsDerived(ClsDerived... values)
Set the US:ClsDerived
|
SecurityClass |
withClsDerived(Collection<ClsDerived> values)
Set the US:ClsDerived
|
SecurityClass |
withClsOrg(String value)
Set the organization of the original classification authority.
|
SecurityClass |
withClsReason(String value)
Set the reason(s) for the classification.
|
SecurityClass |
withDeclsDate(Calendar value)
Set the declassification date for DEDATE and DE25Xn-based declassification
instructions.
|
SecurityClass |
withDeclsDate(Date value)
Set the declassification date for DEDATE and DE25Xn-based declassification
instructions.
|
SecurityClass |
withDeclsEvent(String value)
Set the declassification event, when necessary based on the
declassification instructions.
|
SecurityClass |
withDeclsType(String value)
Set the declassification instructions of the dataset.
|
SecurityClass |
withDowngrade(Collection<Downgrade> values)
Set the US:Downgrade
|
SecurityClass |
withDowngrade(Downgrade... values)
Set the US:Downgrade
|
SecurityClass |
withSourceClsDate(Calendar value)
Set the date this classified dataset was prepared, i.e., the Original
Classification Date.
|
SecurityClass |
withSourceClsDate(Date value)
Set the date this classified dataset was prepared, i.e., the Original
Classification Date.
|
public S30 getClsAuthority()
S30
instancepublic void setClsAuthority(S30 value)
value
- a S30
instancepublic boolean isSetClsAuthority()
public D getSourceClsDate()
D
instancepublic void setSourceClsDate(D value)
value
- a D
instancepublic boolean isSetSourceClsDate()
public S30 getClsOrg()
S30
instancepublic void setClsOrg(S30 value)
value
- a S30
instancepublic boolean isSetClsOrg()
public S15 getClsReason()
S15
instancepublic void setClsReason(S15 value)
value
- a S15
instancepublic boolean isSetClsReason()
public S10 getDeclsType()
S10
instancepublic void setDeclsType(S10 value)
value
- a S10
instancepublic boolean isSetDeclsType()
public D getDeclsDate()
D
instancepublic void setDeclsDate(D value)
value
- a D
instancepublic boolean isSetDeclsDate()
public S200 getDeclsEvent()
S200
instancepublic void setDeclsEvent(S200 value)
value
- a S200
instancepublic boolean isSetDeclsEvent()
public Set<Downgrade> getDowngrade()
Complex element Downgrade (US) contains the downgrade security classification from one or more data information sources..
Downgrade
instancepublic boolean isSetDowngrade()
public void unsetDowngrade()
public Set<ClsDerived> getClsDerived()
Complex element ClsDerived (US) contains the derived security classification from one or more data information sources..
ClsDerived
instancepublic boolean isSetClsDerived()
public void unsetClsDerived()
public SecurityClass withClsAuthority(String value)
value
- An instances of type String
.public SecurityClass withSourceClsDate(Calendar value)
value
- An instances of type Calendar
.public SecurityClass withSourceClsDate(Date value)
value
- An instances of type Date
.public SecurityClass withClsOrg(String value)
value
- An instances of type String
.public SecurityClass withClsReason(String value)
value
- An instances of type String
.public SecurityClass withDeclsType(String value)
value
- An instances of type String
.public SecurityClass withDeclsDate(Calendar value)
value
- An instances of type Calendar
.public SecurityClass withDeclsDate(Date value)
value
- An instances of type Date
.public SecurityClass withDeclsEvent(String value)
value
- An instances of type String
.public SecurityClass withDowngrade(Downgrade... values)
Complex element Downgrade (US) contains the downgrade security classification from one or more data information sources.
values
- One or more instances of type Downgrade...
.public SecurityClass withDowngrade(Collection<Downgrade> values)
Complex element Downgrade (US) contains the downgrade security classification from one or more data information sources.
values
- A collection of Downgrade
instancespublic SecurityClass withClsDerived(ClsDerived... values)
Complex element ClsDerived (US) contains the derived security classification from one or more data information sources.
values
- One or more instances of type ClsDerived...
.public SecurityClass withClsDerived(Collection<ClsDerived> values)
Complex element ClsDerived (US) contains the derived security classification from one or more data information sources.
values
- A collection of ClsDerived
instancespublic String toString()
public boolean isSet()
SecurityClass
has no configuration requirements.
Copyright © 2016 OpenSSRF.org. All rights reserved.