org.fcrepo.server.validation.ecm.jaxb
Class DsTypeModel

java.lang.Object
  extended by org.fcrepo.server.validation.ecm.jaxb.DsTypeModel

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>
 


Field Summary
protected  List<Extension> extension
           
protected  List<Form> form
           
protected  String id
           
protected  Boolean optional
           
 
Constructor Summary
DsTypeModel()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

form

protected List<Form> form

extension

protected List<Extension> extension

id

protected String id

optional

protected Boolean optional
Constructor Detail

DsTypeModel

public DsTypeModel()
Method Detail

getForm

public List<Form> getForm()
Gets the value of the form 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 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 Form


getExtension

public List<Extension> getExtension()
Gets the value of the extension 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 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 Extension


getID

public String getID()
Gets the value of the id property.

Returns:
possible object is String

setID

public void setID(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

isOptional

public Boolean isOptional()
Gets the value of the optional property.

Returns:
possible object is Boolean

setOptional

public void setOptional(Boolean value)
Sets the value of the optional property.

Parameters:
value - allowed object is Boolean


Copyright © 2012 DuraSpace. All Rights Reserved.