|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrAttribute
This interface is used to represent attributes in an object model.
Method Summary | |
---|---|
IlrType |
getAttributeType()
Returns the type of the attribute. |
Object |
getInitialValue()
Returns the initial value of the attribute. |
Field |
getJavaField()
Deprecated. Use getNativeField instead. |
Field |
getNativeField()
Returns the native field represented by this IlrAttribute or null . |
boolean |
isAbstract()
Returns true if the attribute is abstract. |
boolean |
isReadonly()
Returns true if the attribute is read-only. |
boolean |
isTransient()
Returns true if the attribute is transient. |
boolean |
isWriteonly()
Returns true if the attribute is write-only. |
boolean |
visit(IlrObjectModel.Visitor visitor)
Deprecated. Use IlrVisitor instead. |
Methods inherited from interface ilog.rules.bom.IlrMember |
---|
getDeclaringClass, getDomain, getMemberType, isFinal, isPrivate, isProtected, isPublic, isStatic |
Methods inherited from interface ilog.rules.bom.IlrModelElement |
---|
getEnclosingNamespace, getFullyQualifiedName, getName, getObjectModel |
Methods inherited from interface ilog.rules.bom.IlrProperties |
---|
isPropertyPersistent, setPersistentProperty, setPersistentProperty |
Methods inherited from interface ilog.rules.bom.IlrTransientProperties |
---|
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue |
Method Detail |
---|
IlrType getAttributeType()
boolean isTransient()
true
if the attribute is transient.
boolean isReadonly()
true
if the attribute is read-only.
boolean isWriteonly()
true
if the attribute is write-only.
boolean isAbstract()
true
if the attribute is abstract.
An attribute may be abstract in a business model.
boolean visit(IlrObjectModel.Visitor visitor)
IlrClass
, this method applies
the visitor's visitClass
method to this class and it returns the
result of this call. Otherwise if the attribute's type is an IlrEnum
this method applies the visitor's visitEnum
method to this enum
and it returns the result of this call. Otherwise this method returns
true
.
Field getJavaField()
null
.
Field getNativeField()
IlrAttribute
or null
.
Object getInitialValue()
IlrAbstractValue
.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |