Package org.ivoa.dm.registry.standard
Class EndorsedVersion
java.lang.Object
org.ivoa.dm.registry.standard.EndorsedVersion
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="StandardsRegExt:EndorsedVersion",
       role=dataType)
public class EndorsedVersion
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
.
 dataType:  EndorsedVersion
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for EndorsedVersion, mainly for use in the functional builder pattern. - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EndorsedVersion_statusthe IVOA status level of this version of the standard.protected EndorsedVersion_useA designation of preference for the version compared to other versions in use.protected String. - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new EndorsedVersionEndorsedVersion(String value, EndorsedVersion_status status, EndorsedVersion_use use) full parameter constructor.EndorsedVersion(EndorsedVersion other) Copy Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionstatic EndorsedVersioncreate a EndorsedVersion in functional builder style.voidReturns status Attribute.getUse()Returns use Attribute.getValue()Returns value Attribute.voidsetStatus(EndorsedVersion_status pStatus) Set status Attribute.voidsetUse(EndorsedVersion_use pUse) Set use Attribute.voidSet value Attribute.voidupdateUsing(EndorsedVersion other) Update this object with the content of the given object.withStatus(EndorsedVersion_status pStatus) fluent setter for status Attribute.withUse(EndorsedVersion_use pUse) fluent setter for use Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
value
@VoDml(id="StandardsRegExt:EndorsedVersion.value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
status
@VoDml(id="StandardsRegExt:EndorsedVersion.status", role=attribute, type="StandardsRegExt:EndorsedVersion_status", typeRole=enumeration) protected EndorsedVersion_status statusthe IVOA status level of this version of the standard. For values of 'rec', 'pr', 'wd', and 'note', the record's referenceURL element should point to the official specification document in the IVOA Document Repository; if the document does not appear there, these values should not be used. : Attribute status : multiplicity 1 - 
use
@VoDml(id="StandardsRegExt:EndorsedVersion.use", role=attribute, type="StandardsRegExt:EndorsedVersion_use", typeRole=enumeration) protected EndorsedVersion_use useA designation of preference for the version compared to other versions in use. : Attribute use : multiplicity 1 
 - 
 - 
Constructor Details
- 
EndorsedVersion
public EndorsedVersion()Creates a new EndorsedVersion - 
EndorsedVersion
full parameter constructor.- Parameters:
 value- .status- the IVOA status level of this version of the standard. For values of 'rec', 'pr', 'wd', and 'note', the record's referenceURL element should point to the official specification document in the IVOA Document Repository; if the document does not appear there, these values should not be used.use- A designation of preference for the version compared to other versions in use.
 - 
EndorsedVersion
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 
 - 
 - 
Method Details
- 
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 - 
getValue
Returns value Attribute.- Returns:
 - value Attribute
 
 - 
setValue
Set value Attribute.- Parameters:
 pValue- value to set
 - 
withValue
fluent setter for value Attribute.- Parameters:
 pValue- value to set- Returns:
 - EndorsedVersion
 
 - 
getStatus
Returns status Attribute.- Returns:
 - status Attribute
 
 - 
setStatus
Set status Attribute.- Parameters:
 pStatus- value to set
 - 
withStatus
fluent setter for status Attribute.- Parameters:
 pStatus- value to set- Returns:
 - EndorsedVersion
 
 - 
getUse
Returns use Attribute.- Returns:
 - use Attribute
 
 - 
setUse
Set use Attribute.- Parameters:
 pUse- value to set
 - 
withUse
fluent setter for use Attribute.- Parameters:
 pUse- value to set- Returns:
 - EndorsedVersion
 
 - 
createEndorsedVersion
public static EndorsedVersion createEndorsedVersion(Consumer<EndorsedVersion.EndorsedVersionBuilder> f) create a EndorsedVersion in functional builder style.- Parameters:
 f- the functional builder.- Returns:
 - an object initialized from the builder.
 
 - 
forceLoad
public void forceLoad()- Specified by:
 forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
 
 -