|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.extension.PropertyDefinition
public abstract class PropertyDefinition
Extension adapter class for the IPropertyDefintion. By default, the extension
property definition has no resource key for the display name, no choices, no
members, no default value, is not a list and is not in any property group of
the extension. At the same time, the subclasses should override the some
getters about the required name of the property, required display name key of
the property and the required type,which is one of those defined in
PropertyType.
| Constructor Summary | |
|---|---|
PropertyDefinition()
|
|
| Method Summary | |
|---|---|
java.util.List |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyDefinition()
| Method Detail |
|---|
public java.lang.String getGroupNameID()
IPropertyDefinition
getGroupNameID in interface IPropertyDefinitionpublic abstract java.lang.String getName()
IPropertyDefinition
getName in interface IPropertyDefinitionpublic java.lang.String getDisplayNameID()
IPropertyDefinition
getDisplayNameID in interface 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 in interface IPropertyDefinitionpublic boolean isList()
IPropertyDefinition
isList in interface IPropertyDefinitionpublic java.util.List getChoices()
IPropertyDefinition
getChoices in interface IPropertyDefinitionIChoiceDefinitionobjectspublic IMethodInfo getMethodInfo()
IPropertyDefinition
getMethodInfo in interface IPropertyDefinitionpublic java.lang.Object getDefaultValue()
IPropertyDefinition
getDefaultValue in interface IPropertyDefinitionpublic java.util.List getMembers()
IPropertyDefinition
getMembers in interface IPropertyDefinitionpublic boolean isReadOnly()
IPropertyDefinition
isReadOnly in interface IPropertyDefinitionpublic boolean isVisible()
IPropertyDefinition
isVisible in interface IPropertyDefinition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||