|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.ims.ResourceType
public class ResourceType
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.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"/>
<attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.href"/>
<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 |
|---|
protected MetadataType metadata
protected List<FileType> file
protected List<DependencyType> dependency
protected List<Object> any
protected String base
protected String type
protected String identifier
protected String href
| Constructor Detail |
|---|
public ResourceType()
| Method Detail |
|---|
public MetadataType getMetadata()
MetadataTypepublic void setMetadata(MetadataType value)
value - allowed object is
MetadataTypepublic List<FileType> getFile()
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
public List<DependencyType> getDependency()
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
public List<Object> getAny()
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
public String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getIdentifier()
Stringpublic void setIdentifier(String value)
value - allowed object is
Stringpublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||