net.ivoa.xml.voresource.v1
Class Content

java.lang.Object
  extended by net.ivoa.xml.voresource.v1.Content

public class Content
extends java.lang.Object

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

subject

protected java.util.List<java.lang.String> subject

description

protected java.lang.String description

source

protected Source source

referenceURL

protected java.lang.String referenceURL

type

protected java.util.List<Type> type

contentLevel

protected java.util.List<ContentLevel> contentLevel

relationship

protected java.util.List<Relationship> relationship
Constructor Detail

Content

public Content()
Method Detail

getSubject

public java.util.List<java.lang.String> getSubject()
Gets the value of the subject 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 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


getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getSource

public Source getSource()
Gets the value of the source property.

Returns:
possible object is Source

setSource

public void setSource(Source value)
Sets the value of the source property.

Parameters:
value - allowed object is Source

getReferenceURL

public java.lang.String getReferenceURL()
Gets the value of the referenceURL property.

Returns:
possible object is String

setReferenceURL

public void setReferenceURL(java.lang.String value)
Sets the value of the referenceURL property.

Parameters:
value - allowed object is String

getType

public java.util.List<Type> getType()
Gets the value of the type 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 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


getContentLevel

public java.util.List<ContentLevel> getContentLevel()
Gets the value of the contentLevel 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 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


getRelationship

public java.util.List<Relationship> getRelationship()
Gets the value of the relationship 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 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



Copyright © 2011 VAMDC. All Rights Reserved.