|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMember
A base interface for defining properties in the DataNode model. This interface contains all of the common actions that will be required by simple and complex properties.
DataNode
Field Summary | |
---|---|
static int |
TYPE_BOOLEAN
Specifies that the property (IMember) is of type boolean |
static int |
TYPE_INTEGER
Specifies that the property (IMember) is of type int |
static int |
TYPE_NUMBER
Specifies that the property (IMember) is of type Number |
static int |
TYPE_OBJECT
Specifies that the property (IMember) is of type Object |
static int |
TYPE_STRING
Specifies that the property (IMember) is of type String |
Method Summary | |
---|---|
java.lang.String |
getCategory()
Get the category. |
java.lang.String |
getDefaultValue()
Returns the default value of the property. |
java.lang.String |
getDescription()
Get a description, for user help. |
java.lang.String |
getDisplayName()
Get the attribute display name. |
IPropertyEditor |
getEditor()
Returns a property editor that can be used to define this property. |
java.lang.String |
getName()
Get the attribute name. |
IClassDef |
getParent()
Get the class definition parent of this member. |
IValidator |
getScriptValidator(java.lang.Object obj)
Returns a validator that will be associated with the IPropertyEditor that is associated with this property. |
int |
getType()
Get the attribute data type. |
IClassDef |
getTypeDef()
In the case of a member whose type is com.ibm.commons.iloader.node.IMember.TYPE_OBJECT this
method will return the class that can be used to define a new Object. |
boolean |
isReadOnly()
Returns whether or not a member is read-only. |
boolean |
isScriptable(IScript script)
Defines whether or not the property's value can be a script value. |
boolean |
isVisible(java.lang.Object obj)
Check if the member is visible. |
Field Detail |
---|
static final int TYPE_STRING
String
static final int TYPE_INTEGER
int
static final int TYPE_NUMBER
Number
static final int TYPE_BOOLEAN
boolean
static final int TYPE_OBJECT
Object
Method Detail |
---|
java.lang.String getName()
java.lang.String getDisplayName()
java.lang.String getDescription()
java.lang.String getCategory()
IClassDef getParent()
IClassDef
int getType()
IClassDef getTypeDef()
com.ibm.commons.iloader.node.IMember.TYPE_OBJECT
this
method will return the class that can be used to define a new Object.
boolean isReadOnly()
boolean isVisible(java.lang.Object obj)
java.lang.String getDefaultValue()
IPropertyEditor getEditor()
IPropertyEditor
boolean isScriptable(IScript script)
IValidator getScriptValidator(java.lang.Object obj)
obj
-
#getEditor()}, {@link com.ibm.commons.iloader.node.validators.IValidator}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |