public abstract class PropertyDefinition extends java.lang.Object implements IPropertyDefinition
PropertyType.| 构造器和说明 |
|---|
PropertyDefinition() |
| 限定符和类型 | 方法和说明 |
|---|---|
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
PropertyTypeclass. |
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()
IPropertyDefinitiongetGroupNameID 在接口中 IPropertyDefinitionpublic abstract java.lang.String getName()
IPropertyDefinitiongetName 在接口中 IPropertyDefinitionpublic java.lang.String getDisplayNameID()
IPropertyDefinitiongetDisplayNameID 在接口中 IPropertyDefinitionpublic abstract int getType()
IPropertyDefinitionPropertyTypeclass. 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 在接口中 IPropertyDefinitionpublic boolean isList()
IPropertyDefinitionisList 在接口中 IPropertyDefinitionpublic java.util.List<IChoiceDefinition> getChoices()
IPropertyDefinitiongetChoices 在接口中 IPropertyDefinitionIChoiceDefinitionobjectspublic IMethodInfo getMethodInfo()
IPropertyDefinitiongetMethodInfo 在接口中 IPropertyDefinitionpublic java.lang.Object getDefaultValue()
IPropertyDefinitiongetDefaultValue 在接口中 IPropertyDefinitionpublic java.util.List<IPropertyDefinition> getMembers()
IPropertyDefinitiongetMembers 在接口中 IPropertyDefinitionIPropertyDefinition objectspublic boolean isReadOnly()
IPropertyDefinitionisReadOnly 在接口中 IPropertyDefinitionpublic boolean isVisible()
IPropertyDefinitionisVisible 在接口中 IPropertyDefinitionCopyright © 2008 Actuate Corp. All rights reserved.