Class MemberInfo
java.lang.Object
org.eclipse.birt.report.model.api.metadata.MemberInfo
- All Implemented Interfaces:
ILocalizableInfo,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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the member type in Class.Returns the script data type of this member.Returns the display name if the resource key of display name is available.Returns the resource key for display name.getName()Returns the definition name.Returns the tool tip if the resource key of tool tip is available.Returns the resource key for tool tip.booleanisStatic()Returns whether this member is static.protected voidsetDataType(String type) Sets the script data type of this member.protected voidsetDisplayName(String displayName) Sets the display name.protected voidsetDisplayNameKey(String displayNameKey) Sets the resource key for display name.protected voidSets the definition name.protected voidsetStatic(boolean isStatic) Sets whether this member is static.protected voidsetToolTip(String toolTip) Sets the display string for the tool tip of this method.protected voidsetToolTipKey(String toolTipKey) Sets the resource key for tool tip.
-
Constructor Details
-
MemberInfo
public MemberInfo()Default constructor.
-
-
Method Details
-
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
-
setDataType
Sets the script data type of this member.- Parameters:
type- the script data type to set
-
setStatic
protected void setStatic(boolean isStatic) Sets whether this member is static.- Parameters:
isStatic- the flag set
-
isStatic
public boolean isStatic()Returns whether this member is static.- Specified by:
isStaticin interfaceIMemberInfo- Returns:
trueif this member is true.
-
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
-
setToolTip
Sets the display string for the tool tip of this method.- Parameters:
toolTip- the user-visible, localized display name for the tool tip of this method.
-
getToolTipKey
Description copied from interface:ILocalizableInfoReturns the resource key for tool tip.- Specified by:
getToolTipKeyin interfaceILocalizableInfo- Returns:
- the resource key for tool tip
-
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
-
setDisplayName
Sets the display name.- Parameters:
displayName- the display value
-
getDisplayNameKey
Description copied from interface:ILocalizableInfoReturns the resource key for display name.- Specified by:
getDisplayNameKeyin interfaceILocalizableInfo- Returns:
- the resource key for display name
-
getName
Description copied from interface:ILocalizableInfoReturns the definition name.- Specified by:
getNamein interfaceILocalizableInfo- Returns:
- the name of this definition
-
setDisplayNameKey
Sets the resource key for display name.- Parameters:
displayNameKey- the resource key to set
-
setName
Sets the definition name.- Parameters:
name- the name to set
-
setToolTipKey
Sets the resource key for tool tip.- Parameters:
toolTipKey- the resource key to set
-
getClassType
Description copied from interface:IMemberInfoReturns the member type in Class.- Specified by:
getClassTypein interfaceIMemberInfo- Returns:
- the member type
-