Class MemberInfo
- java.lang.Object
-
- org.eclipse.birt.report.model.api.scripts.MemberInfo
-
- All Implemented Interfaces:
ILocalizableInfo,IMemberInfo
public class MemberInfo extends java.lang.Object implements IMemberInfo
Represents the definition of class member. The class member defines the member type besides name, display name ID and tool tip ID.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMemberInfo(java.lang.reflect.Field field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IClassInfogetClassType()Returns the member type in Class.java.lang.StringgetDataType()Returns the script data type of this member.java.lang.StringgetDisplayName()Returns the display name if the resource key of display name is available.java.lang.StringgetDisplayNameKey()Returns the resource key for display name.java.lang.StringgetName()Returns the definition name.java.lang.StringgetToolTip()Returns the tool tip if the resource key of tool tip is available.java.lang.StringgetToolTipKey()Returns the resource key for tool tip.booleanisStatic()Returns whether this member is static.
-
-
-
Method Detail
-
getDataType
public java.lang.String getDataType()
Description copied from interface:IMemberInfoReturns the script data type of this member.- Specified by:
getDataTypein interfaceIMemberInfo- Returns:
- the script data type of this member
-
isStatic
public boolean isStatic()
Returns whether this member is static.- Specified by:
isStaticin interfaceIMemberInfo- Returns:
trueif this member is true.
-
getToolTip
public java.lang.String getToolTip()
Description copied from interface:ILocalizableInfoReturns the tool tip if the resource key of tool tip is available. Otherwise, return empty string.- Specified by:
getToolTipin interfaceILocalizableInfo- Returns:
- the tool tip
-
getToolTipKey
public java.lang.String getToolTipKey()
Description copied from interface:ILocalizableInfoReturns the resource key for tool tip.- Specified by:
getToolTipKeyin interfaceILocalizableInfo- Returns:
- the resource key for tool tip
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:ILocalizableInfoReturns the display name if the resource key of display name is available. Otherwise, return empty string.- Specified by:
getDisplayNamein interfaceILocalizableInfo- Returns:
- the display name
-
getDisplayNameKey
public java.lang.String getDisplayNameKey()
Description copied from interface:ILocalizableInfoReturns the resource key for display name.- Specified by:
getDisplayNameKeyin interfaceILocalizableInfo- Returns:
- the resource key for display name
-
getName
public java.lang.String getName()
Description copied from interface:ILocalizableInfoReturns the definition name.- Specified by:
getNamein interfaceILocalizableInfo- Returns:
- the name of this definition
-
getClassType
public IClassInfo getClassType()
Description copied from interface:IMemberInfoReturns the member type in Class.- Specified by:
getClassTypein interfaceIMemberInfo- Returns:
- the member type
-
-