Package org.javastro.ivoa.entities.vodml
Class Reference
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement
org.javastro.ivoa.entities.vodml.Role
org.javastro.ivoa.entities.vodml.Relation
org.javastro.ivoa.entities.vodml.Reference
- All Implemented Interfaces:
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-08-01T13:15:43+01:00")
public class Reference
extends Relation
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
A Reference is a Relation that indicates a kind of "usage" relationship
between the target ObjectType and the owner of the reference, the "referrer".
The referrer can be an ObjectType (typically) but also a DataType.
The relation is
looser than the composition relationship, acting like a
semantically meaningful pointer rather than indicating a component of the referrer.
Consequently, in general many referrers can point at the same target instance,
and ObjectType-s can
be the target in different reference definitions.
The lifecycle of the target is not bound to that of the referrer.
Often the target instance is used to provide a context for the definition of
the referrer. For example a coordinate frame may be
referenced to provide context to coordinate values.
TBD more needed ...?
TBD Should have multiplicity 0..1 or 1?
Java class for Reference complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Reference">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VODML/v1}Relation">
</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
ConstructorsConstructorDescriptionDefault no-arg constructorReference(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, setVodmlId
-
Constructor Details
-
Reference
public Reference()Default no-arg constructor -
Reference
public Reference(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 classRelation
-
withDatatype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Reference withDatatype(ElementRef value) - Overrides:
withDatatypein classRelation
-
withMultiplicity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Reference withMultiplicity(Multiplicity value) - Overrides:
withMultiplicityin classRelation
-
withVodmlId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Reference withVodmlId(String value) - Overrides:
withVodmlIdin classRelation
-
withName
-
withDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Reference withDescription(String value) - Overrides:
withDescriptionin classRelation
-
withId
-
mergeFrom
-
mergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-