org.archiviststoolkit.structure.EAD
Class Resource

java.lang.Object
  extended by org.archiviststoolkit.structure.EAD.Resource

public class Resource
extends java.lang.Object

Java class for resource complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="resource">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <group ref="{urn:isbn:1-931666-22-9}m.render" maxOccurs="unbounded" minOccurs="0"/>
       <attGroup ref="{urn:isbn:1-931666-22-9}a.common"/>
       <attGroup ref="{http://www.w3.org/1999/xlink}type2"/>
       <attribute ref="{http://www.w3.org/1999/xlink}role"/>
       <attribute ref="{http://www.w3.org/1999/xlink}title"/>
       <attribute ref="{http://www.w3.org/1999/xlink}label"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String altrender
           
protected  java.lang.String audience
           
protected  java.util.List<java.io.Serializable> content
           
protected  java.lang.String id
           
protected  java.lang.String label
           
protected  java.lang.String role
           
protected  java.lang.String title
           
protected  java.lang.String type
           
 
Constructor Summary
Resource()
           
 
Method Summary
 java.lang.String getAltrender()
          Gets the value of the altrender property.
 java.lang.String getAudience()
          Gets the value of the audience property.
 java.util.List<java.io.Serializable> getContent()
          Gets the value of the content property.
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getLabel()
          Gets the value of the label property.
 java.lang.String getRole()
          Gets the value of the role property.
 java.lang.String getTitle()
          Gets the value of the title property.
 java.lang.String getType()
          Gets the value of the type property.
 void setAltrender(java.lang.String value)
          Sets the value of the altrender property.
 void setAudience(java.lang.String value)
          Sets the value of the audience property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 void setRole(java.lang.String value)
          Sets the value of the role property.
 void setTitle(java.lang.String value)
          Sets the value of the title property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.util.List<java.io.Serializable> content

role

protected java.lang.String role

title

protected java.lang.String title

label

protected java.lang.String label

id

protected java.lang.String id

altrender

protected java.lang.String altrender

audience

protected java.lang.String audience

type

protected java.lang.String type
Constructor Detail

Resource

public Resource()
Method Detail

getContent

public java.util.List<java.io.Serializable> getContent()
Gets the value of the content 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 content property.

For example, to add a new item, do as follows:

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Lb> String JAXBElement<Emph>


getRole

public java.lang.String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(java.lang.String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

getTitle

public java.lang.String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(java.lang.String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getLabel

public java.lang.String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getAltrender

public java.lang.String getAltrender()
Gets the value of the altrender property.

Returns:
possible object is String

setAltrender

public void setAltrender(java.lang.String value)
Sets the value of the altrender property.

Parameters:
value - allowed object is String

getAudience

public java.lang.String getAudience()
Gets the value of the audience property.

Returns:
possible object is String

setAudience

public void setAudience(java.lang.String value)
Sets the value of the audience property.

Parameters:
value - allowed object is String

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String