public class FormatValue
extends org.eclipse.birt.report.model.core.Structure
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CATEGORY_MEMBER
Name of the config variable category member.
|
static java.lang.String |
FORMAT_VALUE_STRUCT
Name of the format value structure.
|
static java.lang.String |
LOCALE_MEMBER
Name of the config variable locale member.
|
static java.lang.String |
PATTERN_MEMBER
Name of the config variable pattern member.
|
Constructor and Description |
---|
FormatValue() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
Returns the variable name.
|
StructureHandle |
getHandle(SimpleValueHandle valueHandle)
Gets the specific handle of this structure.
|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String memberName)
Returns the value of a structure property represented as a member
variable.
|
ULocale |
getLocale()
Gets the ULocale.
|
java.lang.String |
getPattern()
Returns the variable value.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
protected StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure.
|
void |
setCategory(java.lang.String name)
Sets the variable name.
|
protected void |
setIntrinsicProperty(java.lang.String memberName,
java.lang.Object value)
Sets the value of of a structure property represented as a member
variable.
|
void |
setLocale(ULocale value)
Sets the ULocale.
|
void |
setPattern(java.lang.String value)
Sets the variable value.
|
java.lang.String |
toString() |
checkStringMember, copy, equals, getCompatibleValue, getContext, getDefn, getElement, getExpressionProperty, getHandle, getLocalProperty, getLocalProperty, getMemberDefn, getObjectDefn, getProperty, getProperty, getReferencableProperty, getStringProperty, isDesignTime, isReferencable, setContext, setExpressionProperty, setProperty, setProperty, setupContext, updateReference, validate
public static final java.lang.String FORMAT_VALUE_STRUCT
public static final java.lang.String CATEGORY_MEMBER
public static final java.lang.String PATTERN_MEMBER
public static final java.lang.String LOCALE_MEMBER
protected java.lang.Object getIntrinsicProperty(java.lang.String memberName)
org.eclipse.birt.report.model.core.Structure
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
memberName
- name of the propertyprotected void setIntrinsicProperty(java.lang.String memberName, java.lang.Object value)
org.eclipse.birt.report.model.core.Structure
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
memberName
- the name of the property to setvalue
- the property valuepublic java.lang.String getCategory()
public void setCategory(java.lang.String name)
name
- the name to setpublic java.lang.String getPattern()
public void setPattern(java.lang.String value)
value
- the value to setpublic ULocale getLocale()
public void setLocale(ULocale value)
value
- the value of the ULocale.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getStructName()
IStructure
protected StructureHandle handle(SimpleValueHandle valueHandle, int index)
org.eclipse.birt.report.model.core.Structure
handle
in class org.eclipse.birt.report.model.core.Structure
valueHandle
- the value handle of this structure list property this
structure is inindex
- the position of this structure in structure listpublic StructureHandle getHandle(SimpleValueHandle valueHandle)
org.eclipse.birt.report.model.core.Structure
getHandle
in class org.eclipse.birt.report.model.core.Structure
valueHandle
- the value handle of this structure list property this
structure is invalueHandle
,null
is returned.Copyright © 2014 OpenText Corp. All rights reserved.