public class ClassInfo extends java.lang.Object implements IClassInfo
| 构造器和说明 |
|---|
ClassInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addMember(IMemberInfo memberDefn)
Adds one member definition to this class definition.
|
protected void |
addMethod(IMethodInfo methodInfo)
Adds one method definition to this class definition.
|
IMethodInfo |
getConstructor()
Returns the constructor definition.
|
java.lang.String |
getDisplayName()
Returns the display name if the resource key of display name is
available.
|
java.lang.String |
getDisplayNameKey()
Returns the resource key for display name.
|
IMemberInfo |
getMember(java.lang.String name)
Returns the member definition given method name.
|
java.util.List<IMemberInfo> |
getMembers()
Returns the list of member definitions.
|
IMethodInfo |
getMethod(java.lang.String name)
Get the method definition given the method name.
|
java.util.List<IMethodInfo> |
getMethods()
Returns the method definition list.
|
java.lang.String |
getName()
Returns the definition name.
|
java.lang.String |
getToolTip()
Returns the tool tip if the resource key of tool tip is
available.
|
java.lang.String |
getToolTipKey()
Returns the resource key for tool tip.
|
boolean |
isNative()
Returns whether a class object is native.
|
protected void |
setConstructor(IMethodInfo constructor)
Adds constructor since some class has more than one constructor with
different arguments.
|
protected void |
setDisplayNameKey(java.lang.String displayNameKey)
Sets the resource key for display name.
|
protected void |
setName(java.lang.String name)
Sets the definition name.
|
protected void |
setNative(boolean isNative)
Sets the native attribute of this class.
|
protected void |
setToolTip(java.lang.String toolTip)
Sets the display string for the tool tip of this method.
|
protected void |
setToolTipKey(java.lang.String toolTipKey)
Sets the resource key for tool tip.
|
protected void addMethod(IMethodInfo methodInfo)
methodInfo - the definition of the method to addorg.eclipse.birt.report.model.metadata.MetaDataException - if the duplicate method name exists.protected void addMember(IMemberInfo memberDefn)
memberDefn - the definition of the member to addorg.eclipse.birt.report.model.metadata.MetaDataException - if the duplicate member name exists.public java.util.List<IMethodInfo> getMethods()
getMethods 在接口中 IClassInfopublic IMethodInfo getMethod(java.lang.String name)
getMethod 在接口中 IClassInfoname - the name of the method to getpublic java.util.List<IMemberInfo> getMembers()
getMembers 在接口中 IClassInfopublic IMemberInfo getMember(java.lang.String name)
getMember 在接口中 IClassInfoname - name of the member to getpublic IMethodInfo getConstructor()
getConstructor 在接口中 IClassInfoprotected void setConstructor(IMethodInfo constructor)
constructor - the constructor definition to addorg.eclipse.birt.report.model.metadata.MetaDataException - if the constructor's name is empty.public boolean isNative()
isNative 在接口中 IClassInfotrue if an object of this class is native, otherwise
falseprotected void setNative(boolean isNative)
isNative - Boolean.TRUE if an object of this class is
native, otherwise Boolean.FALSEpublic java.lang.String getDisplayNameKey()
ILocalizableInfogetDisplayNameKey 在接口中 ILocalizableInfopublic java.lang.String getName()
ILocalizableInfogetName 在接口中 ILocalizableInfopublic java.lang.String getToolTipKey()
ILocalizableInfogetToolTipKey 在接口中 ILocalizableInfoprotected void setDisplayNameKey(java.lang.String displayNameKey)
displayNameKey - the resource key to setprotected void setName(java.lang.String name)
name - the name to setprotected void setToolTipKey(java.lang.String toolTipKey)
toolTipKey - the resource key to setpublic java.lang.String getDisplayName()
ILocalizableInfogetDisplayName 在接口中 ILocalizableInfopublic java.lang.String getToolTip()
ILocalizableInfogetToolTip 在接口中 ILocalizableInfoprotected void setToolTip(java.lang.String toolTip)
toolTip - the user-visible, localized display name for the tool tip of
this method.Copyright © 2008 Actuate Corp. All rights reserved.