|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infolayer.model.UmlModelElement
org.infolayer.model.Feature
org.infolayer.model.UmlOperation
Field Summary | |
static java.lang.Object[] |
NO_PARAM
|
Fields inherited from class org.infolayer.model.UmlModelElement |
PRIVATE, PROTECTED, PUBLIC |
Constructor Summary | |
UmlOperation()
|
Method Summary | |
java.lang.Object |
eval(java.lang.Object self,
java.lang.Object[] param)
Returns the evaluation result of the method for the given parameters. |
java.lang.Object |
get(java.lang.Object self)
returns eval(self, new Object[0]) |
UmlClassifier[] |
getActualParameterTypes(UmlClassifier source)
|
java.lang.String |
getComment(java.lang.String lang)
|
boolean |
getExecPermission(java.lang.Object self)
Returns an unique integer for the signature of this method, (id <= total number of methods) |
OperationImpl |
getImplementation()
Returns the implementation for of the given operation *NOT* performing a dynamic lookup (in contrast to getExecPermission and eval (Otherwise, invocation of super methods would be difficult) |
java.util.List |
getParameter()
Returns the parameter list. |
java.lang.Object |
getProperty(int index)
|
int |
getPropertyCount()
|
void |
getPropertyInfo(int index,
java.util.Hashtable props,
org.ksoap2.serialization.PropertyInfo info)
|
java.lang.String |
getSignature()
Returns the signature of the method as String in the format: name(type,type,type) |
UmlClassifier |
getType()
Returns the type of this method, perhaps depending on the owning classifier |
boolean |
isDeterministic()
|
boolean |
isExtension()
Returns true if the operation is an Infolayer extension and not part of the OCL specification. |
boolean |
isQuery()
Returns true if (read) access to this part does not have any side effects. |
void |
setProperty(int index,
java.lang.Object value)
|
UmlOperation |
setSyntax(java.lang.String syntax)
Shortcut for setTaggedValue("il-syntax", syntax) The syntax must be consistent with the OCL parser. it is used for converting expressions to strings and when generating the documentation |
UmlOperation |
setSyntaxAndSql(java.lang.String value)
|
UmlOperation |
setToSql(java.lang.String def)
|
UmlOperation |
setToSql(ToSql toSql)
|
java.lang.String |
toSql(int match,
java.util.Map fieldMap,
OclExpression[] par)
|
Methods inherited from class org.infolayer.model.Feature |
checkConstraints, getClassifier, getId, getLabel, toString |
Methods inherited from class org.infolayer.model.UmlModelElement |
getLabel, getName, getTaggedValue, getTaggedValue, getVisibility, init, setName, setTaggedValue, setVisibility, setVisibility |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.Object[] NO_PARAM
Constructor Detail |
public UmlOperation()
Method Detail |
public java.lang.String getSignature()
public boolean getExecPermission(java.lang.Object self)
public java.lang.Object eval(java.lang.Object self, java.lang.Object[] param)
public java.lang.Object get(java.lang.Object self)
get
in class Feature
public java.lang.Object getProperty(int index)
getProperty
in interface org.ksoap2.serialization.KvmSerializable
getProperty
in class UmlModelElement
org.ksoap2.marshal.KvmSerializable#getProperty(int)
public OperationImpl getImplementation()
public int getPropertyCount()
getPropertyCount
in interface org.ksoap2.serialization.KvmSerializable
getPropertyCount
in class UmlModelElement
org.ksoap2.marshal.KvmSerializable#getPropertyCount()
public void getPropertyInfo(int index, java.util.Hashtable props, org.ksoap2.serialization.PropertyInfo info)
getPropertyInfo
in interface org.ksoap2.serialization.KvmSerializable
getPropertyInfo
in class UmlModelElement
org.ksoap2.marshal.KvmSerializable#getPropertyInfo(int, PropertyInfo)
public void setProperty(int index, java.lang.Object value)
setProperty
in interface org.ksoap2.serialization.KvmSerializable
setProperty
in class UmlModelElement
org.ksoap2.marshal.KvmSerializable#setProperty(int, Object)
public UmlClassifier getType()
getType
in class Feature
public UmlClassifier[] getActualParameterTypes(UmlClassifier source)
public java.util.List getParameter()
public boolean isDeterministic()
public boolean isExtension()
public boolean isQuery()
public java.lang.String toSql(int match, java.util.Map fieldMap, OclExpression[] par)
toSql
in interface ToSql
public UmlOperation setSyntax(java.lang.String syntax)
syntax
- The syntax of the operation.
public java.lang.String getComment(java.lang.String lang)
getComment
in class UmlModelElement
public UmlOperation setToSql(ToSql toSql)
public UmlOperation setSyntaxAndSql(java.lang.String value)
public UmlOperation setToSql(java.lang.String def)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |