Package org.javastro.ivoa.entities.vodml
Class Relation
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement
org.javastro.ivoa.entities.vodml.Role
org.javastro.ivoa.entities.vodml.Relation
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
Composition,Reference
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2025-09-10T09:00:07+01:00")
public abstract class Relation
extends Role
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
A relation is a Role where the target datatype is an ObjectType.
Java class for Relation complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Relation">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VODML/v1}Role">
<sequence>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classRelation.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
Fields inherited from class org.javastro.ivoa.entities.vodml.Role
datatype, multiplicityFields inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
__cachedModifier__, description, id, name, vodmlId -
Constructor Summary
ConstructorsConstructorDescriptionRelation()Default no-arg constructorRelation(String vodmlId, String name, String description, String id, ElementRef datatype, Multiplicity multiplicity) 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) clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(Relation.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(Relation.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) booleaninthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()abstract Relation.Builder<Void>abstract <_B> Relation.Builder<_B>newCopyBuilder(_B _parentBuilder) abstract <_B> Relation.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) abstract Relation.Builder<Void>newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.vodml.Role
copyTo, copyTo, getDatatype, getMultiplicity, setDatatype, setMultiplicityMethods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
copyTo, copyTo, getDescription, getId, getName, getVodmlId, setDescription, setId, setName, setVodmlIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jvnet.jaxb.lang.MergeFrom
createNewInstance
-
Constructor Details
-
Relation
public Relation()Default no-arg constructor -
Relation
public Relation(String vodmlId, String name, String description, String id, ElementRef datatype, Multiplicity multiplicity) Fully-initialising value constructor
-
-
Method Details
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) -
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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 classRole
-
mergeFrom
-
mergeFrom
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classRole
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classRole
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classRole
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) -
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Relation.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="2025-09-10T09:00:07+01:00") public abstract <_B> Relation.Builder<_B> newCopyBuilder(_B _parentBuilder) - Specified by:
newCopyBuilderin classRole
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public abstract Relation.Builder<Void> newCopyBuilder()- Specified by:
newCopyBuilderin classRole
-
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Relation.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="2025-09-10T09:00:07+01:00") public abstract <_B> Relation.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
newCopyBuilderin classRole
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public abstract Relation.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
newCopyBuilderin classRole
-
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Relation visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-