public abstract class PropertyDefinition extends java.lang.Object implements IPropertyDefinition
PropertyType
.Constructor and Description |
---|
PropertyDefinition() |
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.
|
abstract java.lang.String |
getName()
Returns the internal name of the property.
|
abstract 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.
|
public java.lang.String getGroupNameID()
IPropertyDefinition
getGroupNameID
in interface IPropertyDefinition
public abstract java.lang.String getName()
IPropertyDefinition
getName
in interface IPropertyDefinition
public java.lang.String getDisplayNameID()
IPropertyDefinition
getDisplayNameID
in interface IPropertyDefinition
public abstract int getType()
IPropertyDefinition
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.getType
in interface IPropertyDefinition
public boolean isList()
IPropertyDefinition
isList
in interface IPropertyDefinition
public java.util.List<IChoiceDefinition> getChoices()
IPropertyDefinition
getChoices
in interface IPropertyDefinition
IChoiceDefinition
objectspublic IMethodInfo getMethodInfo()
IPropertyDefinition
getMethodInfo
in interface IPropertyDefinition
public java.lang.Object getDefaultValue()
IPropertyDefinition
getDefaultValue
in interface IPropertyDefinition
public java.util.List<IPropertyDefinition> getMembers()
IPropertyDefinition
getMembers
in interface IPropertyDefinition
IPropertyDefinition
objectspublic boolean isReadOnly()
IPropertyDefinition
isReadOnly
in interface IPropertyDefinition
public boolean isVisible()
IPropertyDefinition
isVisible
in interface IPropertyDefinition
Copyright © 2008 Actuate Corp. All rights reserved.