Package org.javastro.ivoa.entities.vodml
Class SubsettedRole
java.lang.Object
org.javastro.ivoa.entities.vodml.Constraint
org.javastro.ivoa.entities.vodml.SubsettedRole
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-10-20T18:15:02+01:00")
public class SubsettedRole
extends Constraint
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
A special type of constraint that represents the common pattern where a subtype.
would like to restrict certain aspects of a definition of a roles defined on a super type.
The constraint explicitly defines the datatype of the identified role. This new datatype MUST
be a subtype of the declared datatype of the role that is being constrained. Similarly
a new, more restrictive semantic concept may be defined.
Java class for SubsettedRole complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="SubsettedRole">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VODML/v1}Constraint">
<sequence>
<element name="role" type="{http://www.ivoa.net/xml/VODML/v1}ElementRef"/>
<element name="datatype" type="{http://www.ivoa.net/xml/VODML/v1}ElementRef" minOccurs="0"/>
<element name="semanticconcept" type="{http://www.ivoa.net/xml/VODML/v1}SemanticConcept" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classSubsettedRole.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ElementRefPointer to datatype that the constrained Role must take.protected ElementRefVODMLREF identifying the constrained Role.protected SemanticConceptMaybe the super type has not defined a semantic concept for the Role, but the subtype needs that.Fields inherited from class org.javastro.ivoa.entities.vodml.Constraint
__cachedModifier__, description -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSubsettedRole(String description, ElementRef role, ElementRef datatype, SemanticConcept semanticconcept) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) static SubsettedRole.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static SubsettedRole.Builder<Void>copyExcept(Constraint _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static SubsettedRole.Builder<Void>copyExcept(SubsettedRole _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> SubsettedRole.Builder<_B>copyOf(Constraint _other) static <_B> SubsettedRole.Builder<_B>copyOf(Constraint _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> SubsettedRole.Builder<_B>copyOf(SubsettedRole _other) static <_B> SubsettedRole.Builder<_B>copyOf(SubsettedRole _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static SubsettedRole.Builder<Void>copyOnly(Constraint _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static SubsettedRole.Builder<Void>copyOnly(SubsettedRole _other, com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(SubsettedRole.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(SubsettedRole.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) booleanPointer to datatype that the constrained Role must take.getRole()VODMLREF identifying the constrained Role.Maybe the super type has not defined a semantic concept for the Role, but the subtype needs that.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()<_B> SubsettedRole.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> SubsettedRole.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidsetDatatype(ElementRef value) Sets the value of the datatype property.voidsetRole(ElementRef value) Sets the value of the role property.voidSets the value of the semanticconcept property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.vodml.Constraint
copyTo, copyTo, getDescription, setDescription
-
Field Details
-
role
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected ElementRef roleVODMLREF identifying the constrained Role. This role MUST be available to the type containing this constraint. -
datatype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected ElementRef datatypePointer to datatype that the constrained Role must take. This datatype MUST be a sub-type of the declared datatype of the constrained Role. -
semanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected SemanticConcept semanticconceptMaybe the super type has not defined a semantic concept for the Role, but the subtype needs that. This attribute allows this assignment. But alse when the Role on the super-type already has a semanticconcept with a topConcept defined on it, the subtype may restrict the values to a narrower concept than that assigned to it on the super-type.
-
-
Constructor Details
-
SubsettedRole
public SubsettedRole()Default no-arg constructor -
SubsettedRole
public SubsettedRole(String description, ElementRef role, ElementRef datatype, SemanticConcept semanticconcept) Fully-initialising value constructor
-
-
Method Details
-
getRole
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public ElementRef getRole()VODMLREF identifying the constrained Role. This role MUST be available to the type containing this constraint.- Returns:
- possible object is
ElementRef
-
setRole
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setRole(ElementRef value) Sets the value of the role property.- Parameters:
value- allowed object isElementRef- See Also:
-
getDatatype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public ElementRef getDatatype()Pointer to datatype that the constrained Role must take. This datatype MUST be a sub-type of the declared datatype of the constrained Role.- Returns:
- possible object is
ElementRef
-
setDatatype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setDatatype(ElementRef value) Sets the value of the datatype property.- Parameters:
value- allowed object isElementRef- See Also:
-
getSemanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SemanticConcept getSemanticconcept()Maybe the super type has not defined a semantic concept for the Role, but the subtype needs that. This attribute allows this assignment. But alse when the Role on the super-type already has a semanticconcept with a topConcept defined on it, the subtype may restrict the values to a narrower concept than that assigned to it on the super-type.- Returns:
- possible object is
SemanticConcept
-
setSemanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setSemanticconcept(SemanticConcept value) Sets the value of the semanticconcept property.- Parameters:
value- allowed object isSemanticConcept- See Also:
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public boolean equals(Object object) - Overrides:
equalsin classConstraint
-
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public int hashCode()- Overrides:
hashCodein classConstraint
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public String toString()- Overrides:
toStringin classConstraint
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classConstraint
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classConstraint
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classConstraint
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classConstraint
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classConstraint
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole clone()- Overrides:
clonein classConstraint
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classConstraint
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classConstraint
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classConstraint
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyOnlyin classConstraint
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole.Modifier modifier()- Overrides:
modifierin classConstraint
-
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> void copyTo(SubsettedRole.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> SubsettedRole.Builder<_B> newCopyBuilder(_B _parentBuilder) - Overrides:
newCopyBuilderin classConstraint
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole.Builder<Void> newCopyBuilder()- Overrides:
newCopyBuilderin classConstraint
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static SubsettedRole.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> SubsettedRole.Builder<_B> copyOf(Constraint _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> SubsettedRole.Builder<_B> copyOf(SubsettedRole _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> void copyTo(SubsettedRole.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> SubsettedRole.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classConstraint
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classConstraint
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> SubsettedRole.Builder<_B> copyOf(Constraint _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static <_B> SubsettedRole.Builder<_B> copyOf(SubsettedRole _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static SubsettedRole.Builder<Void> copyExcept(Constraint _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static SubsettedRole.Builder<Void> copyExcept(SubsettedRole _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static SubsettedRole.Builder<Void> copyOnly(Constraint _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public static SubsettedRole.Builder<Void> copyOnly(SubsettedRole _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public SubsettedRole visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) - Overrides:
visitin classConstraint
-