Package org.javastro.ivoa.entities.vodml
Class SemanticConcept
java.lang.Object
org.javastro.ivoa.entities.vodml.SemanticConcept
- 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 SemanticConcept
extends Object
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Type used to indicate on attributes that they take values representing a concept defined in
an identified semantic vocabulary (SKOS or RDFS), and/or restricted by being narrower/more specific than an
identified "top" concept.
Java class for SemanticConcept complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="SemanticConcept">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="topConcept" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="vocabularyURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringA URI identifiying a semantic concept that corresponds to the concept in the model.If no topConcept is defined, one or more explicit vocabularies can be provided from which the value must be obtained. -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSemanticConcept(String topConcept, List<String> vocabularyURIs) 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) booleanA URI identifiying a semantic concept that corresponds to the concept in the model.If no topConcept is defined, one or more explicit vocabularies can be provided from which the value must be obtained.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetTopConcept(String value) Sets the value of the topConcept property.toString()withTopConcept(String value) withVocabularyURIs(String... values) withVocabularyURIs(Collection<String> values)
-
Field Details
-
topConcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String topConceptA URI identifiying a semantic concept that corresponds to the concept in the model. Values of a corresponding attributes must be URI-s identifiying objects that are narrower than the identified concept. This attribute may be null as certain vocabularies may not have a -
vocabularyURIs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> vocabularyURIsIf no topConcept is defined, one or more explicit vocabularies can be provided from which the value must be obtained.
-
-
Constructor Details
-
SemanticConcept
public SemanticConcept()Default no-arg constructor -
SemanticConcept
Fully-initialising value constructor
-
-
Method Details
-
getTopConcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getTopConcept()A URI identifiying a semantic concept that corresponds to the concept in the model. Values of a corresponding attributes must be URI-s identifiying objects that are narrower than the identified concept. This attribute may be null as certain vocabularies may not have a- Returns:
- possible object is
String
-
setTopConcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setTopConcept(String value) Sets the value of the topConcept property.- Parameters:
value- allowed object isString- See Also:
-
getVocabularyURIs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getVocabularyURIs()If no topConcept is defined, one or more explicit vocabularies can be provided from which the value must be obtained. Gets the value of the vocabularyURIs property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the vocabularyURIs property.For example, to add a new item, do as follows:
getVocabularyURIs().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the vocabularyURIs property.
-
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) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
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
-
withTopConcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SemanticConcept withTopConcept(String value) -
withVocabularyURIs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SemanticConcept withVocabularyURIs(String... values) -
withVocabularyURIs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SemanticConcept withVocabularyURIs(Collection<String> values) -
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:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
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:
mergeFromin interfaceorg.jvnet.jaxb.lang.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
-