public interface IPropertyDefn
extends org.eclipse.birt.report.model.metadata.IContainerDefn
Modifier and Type | Field and Description |
---|---|
static int |
COMMERCIAL_PROPERTY
Type code for a property defined for commercial element implementation.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowExpression()
Checks whether the expression can be the value of this property.
|
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.
|
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
static final int COMMERCIAL_PROPERTY
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
.boolean allowExpression()
true
if the expression value is valid. Otherwise
false
.Copyright © 2008 Actuate Corp. All rights reserved.