|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infolayer.model.UmlObject
Constructor Summary | |
UmlObject(UmlClass umlClass)
Generates a new object. |
Method Summary | |
java.util.Vector |
checkConstraints(boolean includeParts)
|
int |
compareTo(java.lang.Object o)
|
java.lang.String |
defaultOclToString()
|
void |
delete()
|
boolean |
equals(java.lang.Object o2)
|
UmlObject |
getCopy()
Creates a copy of this object. |
Entry |
getEntry(UmlProperty prop)
Internal method for usage by connection |
java.lang.String |
getId()
|
java.lang.Object |
getProperty(int index)
Deprecated. Vectors are copied automatically! |
java.lang.Object |
getProperty(java.lang.String name)
|
int |
getPropertyCount()
Like getProperty, but vectors are converted to OCL Collections automatically. |
void |
getPropertyInfo(int index,
java.util.Hashtable props,
org.ksoap2.serialization.PropertyInfo info)
|
ObjectState |
getState()
|
UmlClassifier |
getType()
Returns the Uml type of this object |
UmlClass |
getUmlClass()
|
boolean |
isDeleted()
|
void |
loaded()
|
void |
lock()
|
void |
notifyChanged(java.lang.String field)
Called from UI to notify instance about changes |
void |
notifyCreated()
Called from UI to notify instance about creation |
void |
notifyDeleted()
Called from UI to notify instance about destruction |
long |
saving()
returns the previous value of lastSaved and sets it to the current time |
void |
setProperty(int index,
java.lang.Object value)
Use this instead of setProperty(int index, Object value public void setProperty(Property property, Object value){ setProperty(property.partIndex, value); } /** Attention: In loading mode, the inverse relation is not set automatically, since this may result in "unintended" loading of the related object. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
java.lang.String |
toOclLiteral()
|
java.lang.String |
toString()
Calls the actual OCL toString implementation |
void |
unlock()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UmlObject(UmlClass umlClass)
Method Detail |
public java.util.Vector checkConstraints(boolean includeParts)
public void delete()
public boolean isDeleted()
public boolean equals(java.lang.Object o2)
public Entry getEntry(UmlProperty prop)
public java.lang.Object getProperty(int index)
getProperty
in interface org.ksoap2.serialization.KvmSerializable
public int getPropertyCount()
getPropertyCount
in interface org.ksoap2.serialization.KvmSerializable
public void getPropertyInfo(int index, java.util.Hashtable props, org.ksoap2.serialization.PropertyInfo info)
getPropertyInfo
in interface org.ksoap2.serialization.KvmSerializable
public void setProperty(int index, java.lang.Object value)
setProperty
in interface org.ksoap2.serialization.KvmSerializable
public void setProperty(java.lang.String name, java.lang.Object value)
public UmlClass getUmlClass()
public java.lang.String getId()
public UmlClassifier getType()
Typed
getType
in interface Typed
public java.lang.String defaultOclToString()
public java.lang.String toString()
public long saving()
public void loaded()
public java.lang.Object getProperty(java.lang.String name)
public UmlObject getCopy()
public ObjectState getState()
public void notifyChanged(java.lang.String field)
public void notifyDeleted()
public void notifyCreated()
public java.lang.String toOclLiteral()
toOclLiteral
in interface Typed
public void lock()
public void unlock()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |