|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.bom.dynamic.IlrDynamicModelElement ilog.rules.bom.dynamic.IlrDynamicMember ilog.rules.bom.dynamic.IlrDynamicAttribute
public class IlrDynamicAttribute
An implementation of the IlrAttribute
interface.
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.
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. |
IlrType |
getMemberType()
Returns the type of the member. |
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. |
void |
setAbstract(boolean set)
Sets if the attribute is abstract |
void |
setFinal(boolean flag)
Sets the 'final' property of this member. |
void |
setInitialValue(IlrAbstractValue initialValue)
Sets the attribute initial value. |
void |
setReadonly(boolean set)
Sets if the attribute is read only |
void |
setTransient(boolean flag)
Sets the 'transient' property of this attribute. |
void |
setVolatile(boolean flag)
Sets the 'volatile' property of this attribute. |
void |
setWriteonly(boolean set)
Sets if the attribute is write only |
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicMember |
---|
getDeclaringClass, getDomain, getEnclosingNamespace, isFinal, isPrivate, isProtected, isPublic, isStatic, setDomain, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStatic |
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicModelElement |
---|
fireUpdate, fireUpdate, fixType, getFullyQualifiedName, getMutableObjectModel, getName, getObjectModel, getPropertyValue, getPropertyValue, hasListeners, isPropertyPersistent, propertyNames, removeProperty, setPersistentProperty, setPersistentProperty, setPropertyValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ilog.rules.bom.IlrAttribute |
---|
visit |
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableMember |
---|
setDomain, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStatic |
Methods inherited from interface ilog.rules.bom.IlrMember |
---|
getDeclaringClass, getDomain, isFinal, isPrivate, isProtected, isPublic, isStatic |
Methods inherited from interface ilog.rules.bom.mutable.IlrMutableModelElement |
---|
getMutableObjectModel |
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 |
---|
public boolean isReadonly()
true
if the attribute is read-only.
isReadonly
in interface IlrAttribute
true
if the attribute is read-only.public boolean isWriteonly()
true
if the attribute is write-only.
isWriteonly
in interface IlrAttribute
true
if the attribute is write-only.public boolean isAbstract()
true
if the attribute is abstract.
An attribute may be abstract in a business model.
isAbstract
in interface IlrAttribute
true
if the attribute is abstract.public void setReadonly(boolean set)
setReadonly
in interface IlrMutableAttribute
set
- true
if the attribute is read only.public void setWriteonly(boolean set)
setWriteonly
in interface IlrMutableAttribute
set
- true
if the attribute is write only.public void setAbstract(boolean set)
setAbstract
in interface IlrMutableAttribute
set
- true
if the attribute is abstract.public void setFinal(boolean flag)
false
.
setFinal
in interface IlrMutableMember
setFinal
in class IlrDynamicMember
flag
- the new value of the 'final' property.public Field getJavaField()
getNativeField()
instead.
null
.
getJavaField
in interface IlrAttribute
public Field getNativeField()
IlrAttribute
, or null
.
getNativeField
in interface IlrAttribute
IlrAttribute
, or null
.public IlrType getAttributeType()
getAttributeType
in interface IlrAttribute
public IlrType getMemberType()
getMemberType
in interface IlrMember
getMemberType
in class IlrDynamicMember
public boolean isTransient()
true
if the attribute is transient.
isTransient
in interface IlrAttribute
public void setTransient(boolean flag)
false
.
setTransient
in interface IlrMutableAttribute
flag
- The new value of the 'transient' property.public void setVolatile(boolean flag)
false
.
flag
- The new value of the 'volatile' property.public Object getInitialValue()
getInitialValue
in interface IlrAttribute
public void setInitialValue(IlrAbstractValue initialValue)
setInitialValue
in interface IlrMutableAttribute
initialValue
-
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |