public class ResourceType
extends java.lang.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.resourcetype.req"/>
<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.identifier.req"/>
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
any |
protected java.lang.String |
base |
protected java.util.List<DependencyType> |
dependency |
protected java.util.List<FileType> |
file |
protected java.lang.String |
href |
protected java.lang.String |
identifier |
protected MetadataType |
metadata |
protected java.lang.String |
type |
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property.
|
java.lang.String |
getBase()
Gets the value of the base property.
|
java.util.List<DependencyType> |
getDependency()
Gets the value of the dependency property.
|
java.util.List<FileType> |
getFile()
Gets the value of the file property.
|
java.lang.String |
getHref()
Gets the value of the href property.
|
java.lang.String |
getIdentifier()
Gets the value of the identifier property.
|
MetadataType |
getMetadata()
Gets the value of the metadata property.
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
java.lang.String |
getType()
Gets the value of the type property.
|
void |
setBase(java.lang.String value)
Sets the value of the base property.
|
void |
setHref(java.lang.String value)
Sets the value of the href property.
|
void |
setIdentifier(java.lang.String value)
Sets the value of the identifier property.
|
void |
setMetadata(MetadataType value)
Sets the value of the metadata property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
protected MetadataType metadata
protected java.util.List<FileType> file
protected java.util.List<DependencyType> dependency
protected java.util.List<java.lang.Object> any
protected java.lang.String type
protected java.lang.String href
protected java.lang.String base
protected java.lang.String identifier
public MetadataType getMetadata()
MetadataTypepublic void setMetadata(MetadataType value)
value - allowed object is
MetadataTypepublic java.util.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 java.util.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 java.util.List<java.lang.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
Object
Element
public java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getHref()
Stringpublic void setHref(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBase()
Stringpublic void setBase(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getIdentifier()
Stringpublic void setIdentifier(java.lang.String value)
value - allowed object is
Stringpublic java.util.Map<javax.xml.namespace.QName,java.lang.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.
Copyright © 2009-2019. All Rights Reserved.