|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ivoa.xml.voresource.v1.Content
public class Content
Information regarding the general content of a resource
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}token"/> <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.ivoa.net/xml/VOResource/v1.0}Type" maxOccurs="unbounded" minOccurs="0"/> <element name="contentLevel" type="{http://www.ivoa.net/xml/VOResource/v1.0}ContentLevel" 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 | |
---|---|
protected java.util.List<ContentLevel> |
contentLevel
|
protected java.lang.String |
description
|
protected java.lang.String |
referenceURL
|
protected java.util.List<Relationship> |
relationship
|
protected Source |
source
|
protected java.util.List<java.lang.String> |
subject
|
protected java.util.List<Type> |
type
|
Constructor Summary | |
---|---|
Content()
|
Method Summary | |
---|---|
java.util.List<ContentLevel> |
getContentLevel()
Gets the value of the contentLevel property. |
java.lang.String |
getDescription()
Gets the value of the description property. |
java.lang.String |
getReferenceURL()
Gets the value of the referenceURL property. |
java.util.List<Relationship> |
getRelationship()
Gets the value of the relationship property. |
Source |
getSource()
Gets the value of the source property. |
java.util.List<java.lang.String> |
getSubject()
Gets the value of the subject property. |
java.util.List<Type> |
getType()
Gets the value of the type property. |
void |
setDescription(java.lang.String value)
Sets the value of the description property. |
void |
setReferenceURL(java.lang.String value)
Sets the value of the referenceURL property. |
void |
setSource(Source value)
Sets the value of the source property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.String> subject
protected java.lang.String description
protected Source source
protected java.lang.String referenceURL
protected java.util.List<Type> type
protected java.util.List<ContentLevel> contentLevel
protected java.util.List<Relationship> relationship
Constructor Detail |
---|
public Content()
Method Detail |
---|
public java.util.List<java.lang.String> getSubject()
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 set
method for the subject property.
For example, to add a new item, do as follows:
getSubject().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public Source getSource()
Source
public void setSource(Source value)
value
- allowed object is
Source
public java.lang.String getReferenceURL()
String
public void setReferenceURL(java.lang.String value)
value
- allowed object is
String
public java.util.List<Type> getType()
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 set
method for the type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
Type
public java.util.List<ContentLevel> getContentLevel()
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 set
method for the contentLevel property.
For example, to add a new item, do as follows:
getContentLevel().add(newItem);
Objects of the following type(s) are allowed in the list
ContentLevel
public java.util.List<Relationship> getRelationship()
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 set
method for the relationship property.
For example, to add a new item, do as follows:
getRelationship().add(newItem);
Objects of the following type(s) are allowed in the list
Relationship
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |