org.plasma.provisioning
Class Enumeration

java.lang.Object
  extended by org.plasma.provisioning.Element
      extended by org.plasma.provisioning.NamedElement
          extended by org.plasma.provisioning.Type
              extended by org.plasma.provisioning.Enumeration

public class Enumeration
extends Type

An enumeration definition

Java class for Enumeration complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Enumeration">
   <complexContent>
     <extension base="{http://www.servicelabs.org/plasma/provisioning}Type">
       <sequence>
         <element ref="{http://www.servicelabs.org/plasma/provisioning}Documentation" maxOccurs="unbounded"/>
         <element ref="{http://www.servicelabs.org/plasma/provisioning}EnumerationLiteral" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Documentation> documentations
           
protected  List<EnumerationLiteral> enumerationLiterals
           
protected  String uri
           
 
Fields inherited from class org.plasma.provisioning.NamedElement
alias, derivation, name
 
Fields inherited from class org.plasma.provisioning.Element
id
 
Constructor Summary
Enumeration()
           
 
Method Summary
 List<Documentation> getDocumentations()
          Gets the value of the documentations property.
 List<EnumerationLiteral> getEnumerationLiterals()
          Gets the value of the enumerationLiterals property.
 String getUri()
          Gets the value of the uri property.
 void setUri(String value)
          Sets the value of the uri property.
 
Methods inherited from class org.plasma.provisioning.NamedElement
getAlias, getDerivation, getName, setAlias, setDerivation, setName
 
Methods inherited from class org.plasma.provisioning.Element
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentations

protected List<Documentation> documentations

enumerationLiterals

protected List<EnumerationLiteral> enumerationLiterals

uri

protected String uri
Constructor Detail

Enumeration

public Enumeration()
Method Detail

getDocumentations

public List<Documentation> getDocumentations()
Gets the value of the documentations 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 documentations property.

For example, to add a new item, do as follows:

    getDocumentations().add(newItem);
 

Objects of the following type(s) are allowed in the list Documentation


getEnumerationLiterals

public List<EnumerationLiteral> getEnumerationLiterals()
Gets the value of the enumerationLiterals 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 enumerationLiterals property.

For example, to add a new item, do as follows:

    getEnumerationLiterals().add(newItem);
 

Objects of the following type(s) are allowed in the list EnumerationLiteral


getUri

public String getUri()
Gets the value of the uri property.

Returns:
possible object is String

setUri

public void setUri(String value)
Sets the value of the uri property.

Parameters:
value - allowed object is String


Copyright © 2013. All rights reserved.