org.infolayer.model
Class UmlEnumeration
java.lang.Object
org.infolayer.model.UmlModelElement
org.infolayer.model.UmlClassifier
org.infolayer.model.UmlDataType
org.infolayer.model.UmlEnumeration
- All Implemented Interfaces:
- org.ksoap2.serialization.KvmSerializable, Typed
- public class UmlEnumeration
- extends UmlDataType
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 java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
UmlEnumeration
public UmlEnumeration()
init
public void init()
- Description copied from class:
UmlClassifier
- if not yet initialized
- initialize superclass,
- create ilProperties vector,
- copy super properties,
- 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