Package org.ivoa.dm.registry.tap
Class Version
java.lang.Object
org.ivoa.dm.registry.tap.Version
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="TAPRegExt:Version",
       role=dataType)
public class Version
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
One version of the language supported by the service.
                     
                    If the service supports more than one version of the
                    language, include multiple version elements.
                    It is recommended that you use a version numbering
                    scheme like MAJOR.MINOR in such a way that sorting
                    by ascending character codes will leave the most
                    recent version at the bottom of the list. 
 dataType:  Version
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for Version, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Versioncreate a Version in functional builder style.voidgetIvoid()Returns ivoid Attribute.getValue()Returns value Attribute.voidSet ivoid Attribute.voidSet value Attribute.voidupdateUsing(Version other) Update this object with the content of the given object.fluent setter for ivoid Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
value
@VoDml(id="TAPRegExt:Version.value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
ivoid
@VoDml(id="TAPRegExt:Version.ivoid", role=attribute, type="ivoa:anyURI", typeRole=primitiveType) protected String ivoidAn optional IVORN of the language. To more formally define a language supported by a service, a resource record for the language can be created, either centrally on the Registry of Registries or by other registry operators. When such a record exists, the language element's ivoid should point to it. : Attribute ivoid : multiplicity 1 
 - 
 - 
Constructor Details
- 
Version
public Version()Creates a new Version - 
Version
full parameter constructor.- Parameters:
 value- .ivoid- An optional IVORN of the language. To more formally define a language supported by a service, a resource record for the language can be created, either centrally on the Registry of Registries or by other registry operators. When such a record exists, the language element's ivoid should point to it.
 - 
Version
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:
 - Version
 
 - 
getIvoid
Returns ivoid Attribute.- Returns:
 - ivoid Attribute
 
 - 
setIvoid
Set ivoid Attribute.- Parameters:
 pIvoid- value to set
 - 
withIvoid
fluent setter for ivoid Attribute.- Parameters:
 pIvoid- value to set- Returns:
 - Version
 
 - 
createVersion
create a Version 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
 
 -