public interface IPropertyDefinition
Modifier and Type | Method and Description |
---|---|
java.util.List<IChoiceDefinition> |
getChoices()
Returns a list of choices if the property is a choice (type is
CHOICE_TYPE).
|
java.lang.Object |
getDefaultValue()
Returns the default value for the property.
|
java.lang.String |
getDisplayNameID()
Returns the resource key for the localized display name of the property.
|
java.lang.String |
getGroupNameID()
Returns the resource key for display name of the property group.
|
java.util.List<IPropertyDefinition> |
getMembers()
Returns a list of member definitions if the property is a structure (type
is TBD).
|
IMethodInfo |
getMethodInfo()
Returns the method information of this property.
|
java.lang.String |
getName()
Returns the internal name of the property.
|
int |
getType()
Returns the property type using one of the types defined in the
PropertyType class. |
boolean |
isList()
Returns whether this property represents a list of properties instead of
a single property.
|
boolean |
isReadOnly()
Determines whether this property is read-only or not.
|
boolean |
isVisible()
Determines whether this property is visible in property viewer.
|
java.lang.String getGroupNameID()
java.lang.String getName()
java.lang.String getDisplayNameID()
int getType()
PropertyType
class. It is
required. If the model does not provide a suitable type, then either map
the property to one of the supported types, or don't expose it though the
generic property mechanism.boolean isList()
java.util.List<IChoiceDefinition> getChoices()
IChoiceDefinition
objectsjava.util.List<IPropertyDefinition> getMembers()
IPropertyDefinition
objectsjava.lang.Object getDefaultValue()
IMethodInfo getMethodInfo()
boolean isReadOnly()
boolean isVisible()
Copyright © 2008 Actuate Corp. All rights reserved.