Class 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 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 semanticconcept
      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.
  • Constructor Details

  • 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 is SemanticConcept
      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)
      Overrides:
      equals in class Role
    • 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()
      Overrides:
      hashCode in class Role
    • 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()
      Overrides:
      toString in class Role
    • 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)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
      Overrides:
      append in class Role
    • 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:
      appendFields in interface org.jvnet.jaxb.lang.ToString
      Overrides:
      appendFields in class Role
    • 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:
      withDatatype in class Role
    • 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:
      withMultiplicity in class Role
    • 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:
      withVodmlId in class Role
    • withName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Attribute withName(String value)
      Overrides:
      withName in class Role
    • 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:
      withDescription in class Role
    • withId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Attribute withId(String value)
      Overrides:
      withId in class Role
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
      Overrides:
      mergeFrom in class Role
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
      Overrides:
      mergeFrom in class Role
    • 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:
      createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom