public class DsTypeModel extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{info:fedora/fedora-system:def/dsCompositeModel#}form" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{info:fedora/fedora-system:def/dsCompositeModel#}extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extension |
protected List<Form> |
form |
protected String |
id |
protected Boolean |
optional |
| Constructor and Description |
|---|
DsTypeModel() |
| Modifier and Type | Method and Description |
|---|---|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
List<Form> |
getForm()
Gets the value of the form property.
|
String |
getID()
Gets the value of the id property.
|
Boolean |
isOptional()
Gets the value of the optional property.
|
void |
setID(String value)
Sets the value of the id property.
|
void |
setOptional(Boolean value)
Sets the value of the optional property.
|
public List<Form> getForm()
set method for the form property.
For example, to add a new item, do as follows:
getForm().add(newItem);
Objects of the following type(s) are allowed in the list
Formpublic List<Extension> getExtension()
set method for the extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extensionpublic void setID(String value)
value - allowed object is
Stringpublic Boolean isOptional()
BooleanCopyright © 2013 DuraSpace. All Rights Reserved.