Package org.ivoa.dm.pdl
Class IVOASemantics
java.lang.Object
org.ivoa.dm.pdl.ParameterSemantics
org.ivoa.dm.pdl.IVOASemantics
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="pdl:IVOASemantics",
role=dataType)
public class IVOASemantics
extends ParameterSemantics
implements org.ivoa.vodml.jpa.JPAManipulations
.
dataType: IVOASemantics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for IVOASemantics, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new IVOASemanticsIVOASemantics(String ucd, String utype) full parameter constructor.IVOASemantics(IVOASemantics other) Copy Constructor.IVOASemantics(ParameterSemantics superinstance, String ucd, String utype) Constructor from supertype instance. -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static IVOASemanticscreate a IVOASemantics in functional builder style.booleanvoidgetUcd()Returns ucd Attribute.getUtype()Returns utype Attribute.inthashCode()voidSet ucd Attribute.voidSet utype Attribute.voidupdateUsing(IVOASemantics other) Update this object with the content of the given object.fluent setter for ucd Attribute.fluent setter for utype Attribute.Methods inherited from class org.ivoa.dm.pdl.ParameterSemantics
updateUsing
-
Field Details
-
ucd
@VoDml(id="pdl:IVOASemantics.ucd", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String ucda UCD. : Attribute ucd type ivoa:string : multiplicity 0..1 -
utype
@VoDml(id="pdl:IVOASemantics.utype", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String utypea Utype. : Attribute utype type ivoa:string : multiplicity 0..1
-
-
Constructor Details
-
IVOASemantics
public IVOASemantics()Creates a new IVOASemantics -
IVOASemantics
full parameter constructor.- Parameters:
ucd- a UCD.utype- a Utype.
-
IVOASemantics
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
IVOASemantics
Constructor from supertype instance.- Parameters:
superinstance- The supertype.ucd- a UCD.utype- a Utype.
-
-
Method Details
-
copyMe
make a clone of the object taking into account current polymorhic type.- Specified by:
copyMein classParameterSemantics- Returns:
- the cloned object.
-
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.
-
getUcd
Returns ucd Attribute.- Returns:
- ucd Attribute
-
setUcd
Set ucd Attribute.- Parameters:
pUcd- value to set
-
withUcd
fluent setter for ucd Attribute.- Parameters:
pUcd- value to set- Returns:
- IVOASemantics
-
getUtype
Returns utype Attribute.- Returns:
- utype Attribute
-
setUtype
Set utype Attribute.- Parameters:
pUtype- value to set
-
withUtype
fluent setter for utype Attribute.- Parameters:
pUtype- value to set- Returns:
- IVOASemantics
-
createIVOASemantics
create a IVOASemantics 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- Overrides:
forceLoadin classParameterSemantics
-
equals
- Overrides:
equalsin classParameterSemantics
-
hashCode
public int hashCode()- Overrides:
hashCodein classParameterSemantics
-