ilog.rules.bom
Interface IlrComponentProperty
-
- All Superinterfaces:
- IlrMember, IlrModelElement, IlrProperties, IlrTransientProperties
- All Known Subinterfaces:
- IlrIndexedComponentProperty, IlrMutableComponentProperty, IlrMutableIndexedComponentProperty
- All Known Implementing Classes:
- IlrDynamicComponentProperty, IlrDynamicIndexedComponentProperty
public interface IlrComponentProperty extends IlrMember
A component property is like an attribute with a better encapsulation.A component property can be manipulated as an attribute from the outside, using the
getterandsettermethods that it provides.The component property represents the same concept as the JavaBeans properties or the Microsoft .NET properties. This class is not related to
IlrProperties. However, an instance of this class may have properties as it extendsIlrProperties.- See Also:
IlrAttribute
-
-
Method Summary
Methods Modifier and Type Method and Description java.beans.PropertyDescriptorgetNativeDescriptor()Returns the descriptor of the property (for JavaBeans properties), ornullif there isn't one.IlrTypegetPropertyType()Returns the property type.IlrMethodgetReadMethod()Returns thegettermethod to access this property.IlrMethodgetWriteMethod()Returns thesettermethod to set the value of this property.booleanisReadonly()Returnstrueif the property is read only.booleanisWriteonly()Returnstrueif the property is write only.-
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
-
getReadMethod
IlrMethod getReadMethod()
Returns thegettermethod to access this property.Note: This method may return
nullif the property is write-only.
-
getWriteMethod
IlrMethod getWriteMethod()
Returns thesettermethod to set the value of this property.Note: This method may return
nullif the property is read-only.
-
isReadonly
boolean isReadonly()
Returnstrueif the property is read only.- Since:
- JRules 6.0
-
isWriteonly
boolean isWriteonly()
Returnstrueif the property is write only.- Since:
- JRules 6.0
-
getPropertyType
IlrType getPropertyType()
Returns the property type.
-
getNativeDescriptor
java.beans.PropertyDescriptor getNativeDescriptor()
Returns the descriptor of the property (for JavaBeans properties), ornullif there isn't one.
-
-