public class Notation extends Object
Element of Configuration
Sub-Elements are
NotationTimeline
, PotentialVictims
, UsingCountries
Example:
<Notation> <Code cls="U">869812</Code> <Type cls="U">ELNOT</Type> <Status cls="U">Active</Status> <NotationTimeline> <Code cls="U">869812</Code> <Status cls="U">Active</Status> <StatusChangeDateTime cls="U">2014-12-25T01:23:001Z</StatusChangeDateTime> <Type cls="U">ELNOT</Type> </NotationTimeline> <PotentialVictims> <Type cls="U">ELNOT</Type> <VictimName cls="U">Target 478</VictimName> <VictimNotation cls="U">B000Z</VictimNotation> </PotentialVictims> <UsingCountries> <CountryName cls="U">USA</CountryName> <Role cls="U">Source</Role> </UsingCountries> </Notation>
Constructor and Description |
---|
Notation() |
Modifier and Type | Method and Description |
---|---|
US20 |
getCode()
Get an alphanumeric combination that is used to identify a particular
Notation/Signal..
|
Set<NotationTimeline> |
getNotationTimeline()
Get the US:NotationTimeline
|
Set<PotentialVictims> |
getPotentialVictims()
Get the US:PotentialVictims
|
TString |
getStatus()
Get the status of the future, prior, or associated, Notation..
|
TString |
getType()
Get the type of Notation..
|
Set<UsingCountries> |
getUsingCountries()
Get the US:UsingCountries
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetCode()
Determine if the Code is configured.
|
boolean |
isSetNotationTimeline()
Determine if the NotationTimeline is configured.
|
boolean |
isSetPotentialVictims()
Determine if the PotentialVictims is configured.
|
boolean |
isSetStatus()
Determine if the Status is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
boolean |
isSetUsingCountries()
Determine if the UsingCountries is configured.
|
void |
setCode(US20 value)
Set an alphanumeric combination that is used to identify a particular
Notation/Signal..
|
void |
setStatus(TString value)
Set the status of the future, prior, or associated, Notation..
|
void |
setType(TString value)
Set the type of Notation..
|
String |
toString()
Get a string representation of this Notation instance configuration.
|
void |
unsetNotationTimeline()
Clear the NotationTimeline field.
|
void |
unsetPotentialVictims()
Clear the PotentialVictims field.
|
void |
unsetUsingCountries()
Clear the UsingCountries field.
|
Notation |
withCode(String value)
Set an alphanumeric combination that is used to identify a particular
Notation/Signal.
|
Notation |
withNotationTimeline(Collection<NotationTimeline> values)
Set the US:NotationTimeline
|
Notation |
withNotationTimeline(NotationTimeline... values)
Set the US:NotationTimeline
|
Notation |
withPotentialVictims(Collection<PotentialVictims> values)
Set the US:PotentialVictims
|
Notation |
withPotentialVictims(PotentialVictims... values)
Set the US:PotentialVictims
|
Notation |
withStatus(ListUNT value)
Set the status of the future, prior, or associated, Notation.
|
Notation |
withType(ListCEN value)
Set the type of Notation.
|
Notation |
withUsingCountries(Collection<UsingCountries> values)
Set the US:UsingCountries
|
Notation |
withUsingCountries(UsingCountries... values)
Set the US:UsingCountries
|
public US20 getCode()
US20
instancepublic void setCode(US20 value)
value
- a US20
instancepublic boolean isSetCode()
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 TString getStatus()
TString
data typepublic void setStatus(TString value)
value
- the Status value in a TString
data typepublic boolean isSetStatus()
If configured this method also inspects the TString
wrapped value.
public Set<NotationTimeline> getNotationTimeline()
Complex element NotationTimeline (US) provides history information for a specific notation or signal..
NotationTimeline
instancepublic boolean isSetNotationTimeline()
public void unsetNotationTimeline()
public Set<PotentialVictims> getPotentialVictims()
Complex element PotentialVictims (US) contains the names of systems, or the Notations of signals, which may be affected by the subject Notation/Signal..
PotentialVictims
instancepublic boolean isSetPotentialVictims()
public void unsetPotentialVictims()
public Set<UsingCountries> getUsingCountries()
Complex element UsingCountries (US) describes the countries that manufacture (Producing), supply (Source), and use (Using) the Notation..
UsingCountries
instancepublic boolean isSetUsingCountries()
public void unsetUsingCountries()
public Notation withCode(String value)
value
- An instances of type String
.public Notation withType(ListCEN value)
value
- An instances of type ListCEN
.public Notation withStatus(ListUNT value)
value
- An instances of type ListUNT
.public Notation withNotationTimeline(NotationTimeline... values)
Complex element NotationTimeline (US) provides history information for a specific notation or signal.
values
- One or more instances of type NotationTimeline...
.public Notation withNotationTimeline(Collection<NotationTimeline> values)
Complex element NotationTimeline (US) provides history information for a specific notation or signal.
values
- A collection of NotationTimeline
instancespublic Notation withPotentialVictims(PotentialVictims... values)
Complex element PotentialVictims (US) contains the names of systems, or the Notations of signals, which may be affected by the subject Notation/Signal.
values
- One or more instances of type PotentialVictims...
.public Notation withPotentialVictims(Collection<PotentialVictims> values)
Complex element PotentialVictims (US) contains the names of systems, or the Notations of signals, which may be affected by the subject Notation/Signal.
values
- A collection of PotentialVictims
instancespublic Notation withUsingCountries(UsingCountries... values)
Complex element UsingCountries (US) describes the countries that manufacture (Producing), supply (Source), and use (Using) the Notation.
values
- One or more instances of type UsingCountries...
.public Notation withUsingCountries(Collection<UsingCountries> values)
Complex element UsingCountries (US) describes the countries that manufacture (Producing), supply (Source), and use (Using) the Notation.
values
- A collection of UsingCountries
instancespublic String toString()
public boolean isSet()
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.