public class Downgrade extends Object
Element of SecurityClass
Example:
<Downgrade> <DownCls>C</DownCls> <Date>1999-11-05</Date> </Downgrade>
Constructor and Description |
---|
Downgrade() |
Modifier and Type | Method and Description |
---|---|
D |
getDate()
Get the date of the permitted downgrading..
|
TString |
getDowncls()
Get the classification level of the dataset after downgrading..
|
S200 |
getDowngradeInfo()
Get additional downgrading information, if any..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetDate()
Determine if the Date is configured.
|
boolean |
isSetDowncls()
Determine if the Downcls is configured.
|
boolean |
isSetDowngradeInfo()
Determine if the DowngradeInfo is configured.
|
void |
setDate(D value)
Set the date of the permitted downgrading..
|
void |
setDowncls(TString value)
Set the classification level of the dataset after downgrading..
|
void |
setDowngradeInfo(S200 value)
Set additional downgrading information, if any..
|
String |
toString()
Get a string representation of this Downgrade instance configuration.
|
Downgrade |
withDate(Calendar value)
Set the date of the permitted downgrading.
|
Downgrade |
withDate(Date value)
Set the date of the permitted downgrading.
|
Downgrade |
withDowncls(ListCCL value)
Set the classification level of the dataset after downgrading.
|
Downgrade |
withDowngradeInfo(String value)
Set additional downgrading information, if any.
|
public TString getDowncls()
TString
data typepublic void setDowncls(TString value)
value
- the Downcls value in a TString
data typepublic boolean isSetDowncls()
If configured this method also inspects the TString
wrapped value.
public D getDate()
D
instancepublic void setDate(D value)
value
- a D
instancepublic boolean isSetDate()
public S200 getDowngradeInfo()
S200
instancepublic void setDowngradeInfo(S200 value)
value
- a S200
instancepublic boolean isSetDowngradeInfo()
public Downgrade withDowncls(ListCCL value)
value
- An instances of type ListCCL
.public Downgrade withDate(Calendar value)
value
- An instances of type Calendar
.public Downgrade withDate(Date value)
value
- An instances of type Date
.public Downgrade withDowngradeInfo(String value)
value
- An instances of type String
.public String toString()
public boolean isSet()
Downgrade
requires Date
, Downcls
.
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.