|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPropertyDefn
Base Interface for both element property, extension model property and structure member definitions.
Field Summary | |
---|---|
static int |
EXTENSION_MODEL_PROPERTY
Type code for a property defined by an extension implementation of ReportItemExtensionPoint. |
static int |
EXTENSION_PROPERTY
Type code for a property defined in XML file with the ReportItemExtensionPoint. |
static int |
ODA_PROPERTY
Type code for a property defined by a ODA extension. |
static int |
SYSTEM_PROPERTY
Type code for a system property. |
static int |
USER_PROPERTY
Type code for a user property. |
Method Summary | |
---|---|
IChoiceSet |
getAllowedChoices()
Returns the allowed choices for this property. |
IChoiceSet |
getAllowedUnits()
Returns the allowed units for this property. |
IChoiceSet |
getChoices()
Gets the list of choices for the property. |
java.lang.String |
getContext()
Return the context for a method or expression. |
java.lang.Object |
getDefault()
Returns the default value for the property. |
java.lang.String |
getDisplayNameID()
Returns the message id for the display name. |
IStructureDefn |
getStructDefn()
Returns the structure definition for this value. |
IElementDefn |
getTargetElementType()
Return the element type associated with this property. |
int |
getTypeCode()
Returns the property type. |
int |
getValueType()
Returns the type of this value. |
boolean |
hasChoices()
Checks if a property has a set of choices whatever choice is choice, extended choice or user defined choice. |
boolean |
isEncryptable()
Returns whether this property should be encrypted. |
boolean |
isList()
Indicates whether this property is a list. |
Methods inherited from interface org.eclipse.birt.report.model.metadata.IContainerDefn |
---|
canContain, canContain, getAllowedElements, getAllowedElements, getDisplayName, getName |
Field Detail |
---|
static final int SYSTEM_PROPERTY
static final int USER_PROPERTY
static final int EXTENSION_PROPERTY
static final int EXTENSION_MODEL_PROPERTY
static final int ODA_PROPERTY
Method Detail |
---|
boolean isList()
int getTypeCode()
PropertyType
.
java.lang.String getDisplayNameID()
IChoiceSet getChoices()
boolean hasChoices()
IStructureDefn getStructDefn()
java.lang.Object getDefault()
IElementDefn getTargetElementType()
IChoiceSet getAllowedChoices()
If a property has not defined the restriction, then whole set will be returned.
IChoiceSet getAllowedUnits()
If a property has not defined the restriction, then whole set will be returned.
boolean isEncryptable()
true
if this property should be encrypted.int getValueType()
java.lang.String getContext()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |