org.infolayer.model
Class UmlClass

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

public class UmlClass
extends UmlClassifier


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
UmlClass()
          Empty constructor for creation by ModelLoader
UmlClass(UmlModel model, java.lang.String name)
           
 
Method Summary
 void addModificationListener(ModificationListener l)
           
 UmlProperty addProperty(UmlProperty f)
          Performs an additional check for physical property and physical property consistence, then calls super.addFeature.
 OclCollection allInstances()
          Returns an OclCollection containin all instances of this class, including subclasses.
 java.lang.Object createInstance()
          equivalent to "return new UmlObject(this)".
 UmlObject getInstance(java.lang.String id)
          Returns the instance of this class or any subclass with the given id.
 OclCollection instances()
          Returns an OclCollection containing all immediate instances of this class.
 
Methods inherited from class org.infolayer.model.UmlClassifier
addOperation, addOperation, addProperty, checkConstraints, compile, compile, equals, findOperation, findProperty, getActualType, getAllSubtypes, getAllSupertypes, getAttribute, getBehavior, getCommonSupertype, getDynamicOperation, getInstanceJavaClass, getLabel, getModel, getOperation, getOwnedAttribute, getOwnedOperation, getPermission, getProperty, getPropertyCount, getPropertyInfo, getStateProperty, getSubtypes, getSupertype, getTaggedValueRecursive, getType, init, isAbstract, isAssignableFrom, lookUpOperation, setProperty, toOclLiteral, 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

UmlClass

public UmlClass()
Empty constructor for creation by ModelLoader


UmlClass

public UmlClass(UmlModel model,
                java.lang.String name)
Method Detail

createInstance

public java.lang.Object createInstance()
equivalent to "return new UmlObject(this)".

Overrides:
createInstance in class UmlClassifier

addModificationListener

public void addModificationListener(ModificationListener l)

addProperty

public UmlProperty addProperty(UmlProperty f)
Performs an additional check for physical property and physical property consistence, then calls super.addFeature.

Overrides:
addProperty in class UmlClassifier

getInstance

public UmlObject getInstance(java.lang.String id)
Returns the instance of this class or any subclass with the given id.


allInstances

public OclCollection allInstances()
Returns an OclCollection containin all instances of this class, including subclasses.

Overrides:
allInstances in class UmlClassifier

instances

public OclCollection instances()
Returns an OclCollection containing all immediate instances of this class.

Overrides:
instances in class UmlClassifier