Class Content
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for Content complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Content">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="subject" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="source" type="{http://www.ivoa.net/xml/VOResource/v1.0}Source" minOccurs="0"/>
<element name="referenceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
<element name="contentLevel" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
<element name="relationship" type="{http://www.ivoa.net/xml/VOResource/v1.0}Relationship" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionDescription of the content level or intended audience.protected StringThe description may include but is not limited to an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content.protected StringURL pointing to a human-readable document describing this resource.protected List<Relationship>a description of a relationship to another resource.protected SourceThis is intended to point to an article in the published literature.Terms for Subject should be drawn from the Unified Astronomy Thesaurus (http://astrothesaurus.org).Nature or genre of the content of the resource. -
Constructor Summary
Constructors -
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) booleanDescription of the content level or intended audience.The description may include but is not limited to an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content.URL pointing to a human-readable document describing this resource.a description of a relationship to another resource.This is intended to point to an article in the published literature.Terms for Subject should be drawn from the Unified Astronomy Thesaurus (http://astrothesaurus.org).getTypes()Nature or genre of the content of the resource.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetDescription(String value) Sets the value of the description property.voidsetReferenceURL(String value) Sets the value of the referenceURL property.voidSets the value of the source property.toString()withContentLevels(String... values) withContentLevels(Collection<String> values) withDescription(String value) withReferenceURL(String value) withRelationships(Collection<Relationship> values) withRelationships(Relationship... values) withSource(Source value) withSubjects(String... values) withSubjects(Collection<String> values) withTypes(Collection<String> values)
-
Field Details
-
subjects
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> subjectsTerms for Subject should be drawn from the Unified Astronomy Thesaurus (http://astrothesaurus.org). -
description
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String descriptionThe description may include but is not limited to an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. Note that description is xs:string-typed, which means that whitespace is considered significant. Clients should render empty lines as paragraph boundaries and ideally refrain from reflowing material that looks formatted (i.e., is broken to about 80-character lines). -
source
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Source sourceThis is intended to point to an article in the published literature. An ADS Bibcode is recommended as a value when available. -
referenceURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String referenceURLURL pointing to a human-readable document describing this resource. -
types
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> typesNature or genre of the content of the resource. Values for type should be taken from the controlled vocabulary http://www.ivoa.net/rdf/voresource/content_type -
contentLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> contentLevelsDescription of the content level or intended audience. Values for contentLevel should be taken from the controlled vocabulary http://www.ivoa.net/rdf/voresource/content_level. -
relationships
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Relationship> relationshipsa description of a relationship to another resource.
-
-
Constructor Details
-
Method Details
-
getSubjects
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getSubjects()Terms for Subject should be drawn from the Unified Astronomy Thesaurus (http://astrothesaurus.org). Gets the value of the subjects 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 subjects property.For example, to add a new item, do as follows:
getSubjects().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the subjects property.
-
getDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getDescription()The description may include but is not limited to an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. Note that description is xs:string-typed, which means that whitespace is considered significant. Clients should render empty lines as paragraph boundaries and ideally refrain from reflowing material that looks formatted (i.e., is broken to about 80-character lines).- Returns:
- possible object is
String
-
setDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setDescription(String value) Sets the value of the description property.- Parameters:
value- allowed object isString- See Also:
-
getSource
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Source getSource()This is intended to point to an article in the published literature. An ADS Bibcode is recommended as a value when available.- Returns:
- possible object is
Source
-
setSource
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setSource(Source value) Sets the value of the source property.- Parameters:
value- allowed object isSource- See Also:
-
getReferenceURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getReferenceURL()URL pointing to a human-readable document describing this resource.- Returns:
- possible object is
String
-
setReferenceURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setReferenceURL(String value) Sets the value of the referenceURL property.- Parameters:
value- allowed object isString- See Also:
-
getTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getTypes()Nature or genre of the content of the resource. Values for type should be taken from the controlled vocabulary http://www.ivoa.net/rdf/voresource/content_type Gets the value of the types 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 types property.For example, to add a new item, do as follows:
getTypes().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the types property.
-
getContentLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getContentLevels()Description of the content level or intended audience. Values for contentLevel should be taken from the controlled vocabulary http://www.ivoa.net/rdf/voresource/content_level. Gets the value of the contentLevels 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 contentLevels property.For example, to add a new item, do as follows:
getContentLevels().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the contentLevels property.
-
getRelationships
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Relationship> getRelationships()a description of a relationship to another resource. Gets the value of the relationships 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 relationships property.For example, to add a new item, do as follows:
getRelationships().add(newItem);
Objects of the following type(s) are allowed in the list
Relationship- Returns:
- The value of the relationships 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
-
withSubjects
-
withSubjects
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Content withSubjects(Collection<String> values) -
withDescription
-
withSource
-
withReferenceURL
-
withTypes
-
withTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Content withTypes(Collection<String> values) -
withContentLevels
-
withContentLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Content withContentLevels(Collection<String> values) -
withRelationships
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Content withRelationships(Relationship... values) -
withRelationships
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Content withRelationships(Collection<Relationship> 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
-