org.infolayer.model
Class UmlEnumeration

java.lang.Object
  extended byorg.infolayer.model.UmlModelElement
      extended byorg.infolayer.model.UmlClassifier
          extended byorg.infolayer.model.UmlDataType
              extended byorg.infolayer.model.UmlEnumeration
All Implemented Interfaces:
org.ksoap2.serialization.KvmSerializable, Typed

public class UmlEnumeration
extends UmlDataType


Field Summary
 
Fields inherited from class org.infolayer.model.UmlClassifier
PERMISSION_CREATE, PERMISSION_EXEC, PERMISSION_NONE, PERMISSION_QUERY, PERMISSION_READ, PERMISSION_WRITE
 
Fields inherited from class org.infolayer.model.UmlModelElement
PRIVATE, PROTECTED, PUBLIC
 
Constructor Summary
UmlEnumeration()
           
 
Method Summary
 java.lang.Object fromString(java.lang.String s)
          Generates instance of the Java class denoted by this DataType from the given String.
 java.util.Vector getLiteral()
           
 UmlEnumerationLiteral getLiteral(int index)
           
 int getLiteralCount()
           
 java.lang.Object getProperty(int index)
          Returns the property with the given index
 int getPropertyCount()
           
 void getPropertyInfo(int index, java.util.Hashtable props, org.ksoap2.serialization.PropertyInfo info)
           
 void init()
          if not yet initialized initialize superclass, create ilProperties vector, copy super properties, add and init own properties
 OclCollection instances()
           
 void setProperty(int index, java.lang.Object value)
           
 
Methods inherited from class org.infolayer.model.UmlDataType
createInstance, fromString, toOclLiteral, toString, toString
 
Methods inherited from class org.infolayer.model.UmlClassifier
addOperation, addOperation, addProperty, addProperty, allInstances, checkConstraints, compile, compile, equals, findOperation, findProperty, getActualType, getAllSubtypes, getAllSupertypes, getAttribute, getBehavior, getCommonSupertype, getDynamicOperation, getInstanceJavaClass, getLabel, getModel, getOperation, getOwnedAttribute, getOwnedOperation, getPermission, getStateProperty, getSubtypes, getSupertype, getTaggedValueRecursive, getType, isAbstract, isAssignableFrom, lookUpOperation, toOclLiteral, toString, typeDistance
 
Methods inherited from class org.infolayer.model.UmlModelElement
getComment, getLabel, getName, getTaggedValue, getTaggedValue, getVisibility, setName, setTaggedValue, setVisibility, setVisibility
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UmlEnumeration

public UmlEnumeration()
Method Detail

init

public void init()
Description copied from class: UmlClassifier
if not yet initialized
  1. initialize superclass,
  2. create ilProperties vector,
  3. copy super properties,
  4. add and init own properties

Overrides:
init in class UmlClassifier

instances

public OclCollection instances()
Overrides:
instances in class UmlDataType

getLiteral

public java.util.Vector getLiteral()

getLiteral

public UmlEnumerationLiteral getLiteral(int index)

getLiteralCount

public int getLiteralCount()

getPropertyCount

public int getPropertyCount()
Specified by:
getPropertyCount in interface org.ksoap2.serialization.KvmSerializable
Overrides:
getPropertyCount in class UmlClassifier

getProperty

public java.lang.Object getProperty(int index)
Description copied from class: UmlClassifier
Returns the property with the given index

Specified by:
getProperty in interface org.ksoap2.serialization.KvmSerializable
Overrides:
getProperty in class UmlClassifier

getPropertyInfo

public void getPropertyInfo(int index,
                            java.util.Hashtable props,
                            org.ksoap2.serialization.PropertyInfo info)
Specified by:
getPropertyInfo in interface org.ksoap2.serialization.KvmSerializable
Overrides:
getPropertyInfo in class UmlClassifier

setProperty

public void setProperty(int index,
                        java.lang.Object value)
Specified by:
setProperty in interface org.ksoap2.serialization.KvmSerializable
Overrides:
setProperty in class UmlClassifier

fromString

public java.lang.Object fromString(java.lang.String s)
Description copied from class: UmlDataType
Generates instance of the Java class denoted by this DataType from the given String. In contrast to fromOclLiteral(), the String is in a plain format, as returned for instance from a web form. This method can only handle an international default format. For different formats, please use fromString(String s, String format, String lang).

Overrides:
fromString in class UmlDataType