public class ItemType extends Object
Java class for itemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="itemType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.imsglobal.org/xsd/imscp_v1p1}title" minOccurs="0"/>
<element ref="{http://www.imsglobal.org/xsd/imscp_v1p1}item" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.imsglobal.org/xsd/imscp_v1p1}metadata" minOccurs="0"/>
<group ref="{http://www.imsglobal.org/xsd/imscp_v1p1}grp.any"/>
</sequence>
<attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.identifierref"/>
<attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.parameters"/>
<attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.identifier.req"/>
<attGroup ref="{http://www.imsglobal.org/xsd/imscp_v1p1}attr.isvisible"/>
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected String |
identifier |
protected String |
identifierref |
protected Boolean |
isvisible |
protected List<ItemType> |
item |
protected MetadataType |
metadata |
protected String |
parameters |
protected String |
title |
| Constructor and Description |
|---|
ItemType() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getIdentifier()
Gets the value of the identifier property.
|
String |
getIdentifierref()
Gets the value of the identifierref property.
|
Boolean |
getIsvisible()
Gets the value of the isvisible property.
|
List<ItemType> |
getItem()
Gets the value of the item 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 |
getParameters()
Gets the value of the parameters property.
|
String |
getTitle()
Gets the value of the title property.
|
void |
setIdentifier(String value)
Sets the value of the identifier property.
|
void |
setIdentifierref(String value)
Sets the value of the identifierref property.
|
void |
setIsvisible(Boolean value)
Sets the value of the isvisible property.
|
void |
setMetadata(MetadataType value)
Sets the value of the metadata property.
|
void |
setParameters(String value)
Sets the value of the parameters property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
protected String title
protected MetadataType metadata
protected String identifierref
protected String parameters
protected String identifier
protected Boolean isvisible
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic List<ItemType> getItem()
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 item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
ItemType
public MetadataType getMetadata()
MetadataTypepublic void setMetadata(MetadataType value)
value - allowed object is
MetadataTypepublic 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 getIdentifierref()
Stringpublic void setIdentifierref(String value)
value - allowed object is
Stringpublic String getParameters()
Stringpublic void setParameters(String value)
value - allowed object is
Stringpublic String getIdentifier()
Stringpublic void setIdentifier(String value)
value - allowed object is
Stringpublic Boolean getIsvisible()
Booleanpublic void setIsvisible(Boolean value)
value - allowed object is
Booleanpublic 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.
Copyright © 2009-2015. All Rights Reserved.