Package org.javastro.ivoa.entities.vodml
Class Attribute
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement
org.javastro.ivoa.entities.vodml.Role
org.javastro.ivoa.entities.vodml.Attribute
- 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 Attribute
extends Role
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Must refer to a ValueType.
Java class for Attribute complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Attribute">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VODML/v1}Role">
<sequence>
<element name="semanticconcept" type="{http://www.ivoa.net/xml/VODML/v1}SemanticConcept" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SemanticConceptIt is possible to assign a SemanticConcept to an attribute definition.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 constructorAttribute(String vodmlId, String name, String description, String id, ElementRef datatype, Multiplicity multiplicity, 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) booleanIt is possible to assign a SemanticConcept to an attribute definition.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidSets the value of the semanticconcept property.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
-
Field Details
-
semanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected SemanticConcept semanticconceptIt is possible to assign a SemanticConcept to an attribute definition. This means that the values of the attribute have to comply with the definition of the SemanticConcept. This can be done in two manners. Either the SemanticConcept gives a link to a semantic vocabulary, in which case the value must be a concept defined in that vocabulary. Or it defines a topConcept, in which case the value must be a concept that is explicitly declared to be (narrower than) that concept, or a concept that is narrower than that concept. FOr details on the interpretation see the VO-DML document.
-
-
Constructor Details
-
Attribute
public Attribute()Default no-arg constructor -
Attribute
public Attribute(String vodmlId, String name, String description, String id, ElementRef datatype, Multiplicity multiplicity, SemanticConcept semanticconcept) Fully-initialising value constructor
-
-
Method Details
-
getSemanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SemanticConcept getSemanticconcept()It is possible to assign a SemanticConcept to an attribute definition. This means that the values of the attribute have to comply with the definition of the SemanticConcept. This can be done in two manners. Either the SemanticConcept gives a link to a semantic vocabulary, in which case the value must be a concept defined in that vocabulary. Or it defines a topConcept, in which case the value must be a concept that is explicitly declared to be (narrower than) that concept, or a concept that is narrower than that concept. FOr details on the interpretation see the VO-DML document.- Returns:
- possible object is
SemanticConcept
-
setSemanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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-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
-
withSemanticconcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Attribute withSemanticconcept(SemanticConcept value) -
withDatatype
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Attribute 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 Attribute 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 Attribute 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 Attribute withDescription(String value) - Overrides:
withDescriptionin classRole
-
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
-