com.googlecode.fascinator.ims
Class ResourceType

java.lang.Object
  extended by com.googlecode.fascinator.ims.ResourceType

public class ResourceType
extends Object

Java class for resourceType complex type.

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

 <complexType name="resourceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.imsglobal.org/xsd/imscp_v1p1}metadata" minOccurs="0"/>
         <element ref="{http://www.imsglobal.org/xsd/imscp_v1p1}file" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.imsglobal.org/xsd/imscp_v1p1}dependency" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://www.imsglobal.org/xsd/imscp_v1p1}grp.any"/>
       </sequence>
       <attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.href"/>
       <attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.base"/>
       <attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.resourcetype.req"/>
       <attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.identifier.req"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  String base
           
protected  List<DependencyType> dependency
           
protected  List<FileType> file
           
protected  String href
           
protected  String identifier
           
protected  MetadataType metadata
           
protected  String type
           
 
Constructor Summary
ResourceType()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 String getBase()
          Gets the value of the base property.
 List<DependencyType> getDependency()
          Gets the value of the dependency property.
 List<FileType> getFile()
          Gets the value of the file property.
 String getHref()
          Gets the value of the href property.
 String getIdentifier()
          Gets the value of the identifier property.
 MetadataType getMetadata()
          Gets the value of the metadata property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getType()
          Gets the value of the type property.
 void setBase(String value)
          Sets the value of the base property.
 void setHref(String value)
          Sets the value of the href property.
 void setIdentifier(String value)
          Sets the value of the identifier property.
 void setMetadata(MetadataType value)
          Sets the value of the metadata property.
 void setType(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

metadata

protected MetadataType metadata

file

protected List<FileType> file

dependency

protected List<DependencyType> dependency

any

protected List<Object> any

href

protected String href

base

protected String base

type

protected String type

identifier

protected String identifier
Constructor Detail

ResourceType

public ResourceType()
Method Detail

getMetadata

public MetadataType getMetadata()
Gets the value of the metadata property.

Returns:
possible object is MetadataType

setMetadata

public void setMetadata(MetadataType value)
Sets the value of the metadata property.

Parameters:
value - allowed object is MetadataType

getFile

public List<FileType> getFile()
Gets the value of the file 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 file property.

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

    getFile().add(newItem);
 

Objects of the following type(s) are allowed in the list FileType


getDependency

public List<DependencyType> getDependency()
Gets the value of the dependency 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 dependency property.

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

    getDependency().add(newItem);
 

Objects of the following type(s) are allowed in the list DependencyType


getAny

public List<Object> getAny()
Gets the value of the any 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 any property.

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

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object


getHref

public String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getBase

public String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getType

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

Returns:
possible object is String

setType

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

Parameters:
value - allowed object is String

getIdentifier

public String getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is String

setIdentifier

public void setIdentifier(String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2009-2012. All Rights Reserved.