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:
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="2024-08-01T13:15:43+01:00")
public abstract class Relation
extends Role
implements 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>
-
Field Summary
Fields inherited from class org.javastro.ivoa.entities.vodml.Role
datatype, multiplicityFields inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
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) booleaninthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) toString()withDatatype(ElementRef value) withDescription(String value) withMultiplicity(Multiplicity value) withVodmlId(String value) Methods inherited from class org.javastro.ivoa.entities.vodml.Role
getDatatype, getMultiplicity, setDatatype, setMultiplicityMethods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
getDescription, getId, getName, getVodmlId, setDescription, setId, setName, setVodmlIdMethods inherited from class java.lang.Object
clone, 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="2024-08-01T13:15:43+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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
-
withDatatype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Relation withDatatype(ElementRef value) - Overrides:
withDatatypein classRole
-
withMultiplicity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Relation withMultiplicity(Multiplicity value) - Overrides:
withMultiplicityin classRole
-
withVodmlId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Relation withVodmlId(String value) - Overrides:
withVodmlIdin classRole
-
withName
-
withDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Relation withDescription(String value) - Overrides:
withDescriptionin classRole
-
withId
-
mergeFrom
-
mergeFrom
-