|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPropertyDefinition
Defines a property or structure member provided by an peer extension. Most fields are optional except for type and internal name.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |