|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.scripts.ClassInfo
public class ClassInfo
Represents the script object definition. This definition defines one constructor, several members and methods. It also includes the name, display name ID, and tool tip ID.
| Constructor Summary | |
|---|---|
ClassInfo(java.lang.Class clazz)
|
|
| Method Summary | |
|---|---|
protected IMethodInfo |
createConstructorInfo(java.lang.reflect.Constructor classMethod)
|
protected IMemberInfo |
createMemberInfo(java.lang.reflect.Field classField)
|
protected IMethodInfo |
createMethodInfo(java.lang.reflect.Method classMethod)
|
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 |
getMembers()
Returns the list of member definitions. |
IMethodInfo |
getMethod(java.lang.String name)
Get the method definition given the method name. |
java.util.List |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassInfo(java.lang.Class clazz)
clazz - | Method Detail |
|---|
protected IMemberInfo createMemberInfo(java.lang.reflect.Field classField)
classField -
protected IMethodInfo createConstructorInfo(java.lang.reflect.Constructor classMethod)
classMethod -
protected IMethodInfo createMethodInfo(java.lang.reflect.Method classMethod)
classMethod -
public java.util.List getMethods()
getMethods in interface IClassInfopublic IMethodInfo getMethod(java.lang.String name)
getMethod in interface IClassInfoname - the name of the method to get
public java.util.List getMembers()
getMembers in interface IClassInfopublic IMemberInfo getMember(java.lang.String name)
getMember in interface IClassInfoname - name of the member to get
public IMethodInfo getConstructor()
getConstructor in interface IClassInfopublic boolean isNative()
isNative in interface IClassInfotrue if an object of this class is native,
otherwise falsepublic java.lang.String getDisplayNameKey()
ILocalizableInfo
getDisplayNameKey in interface ILocalizableInfopublic java.lang.String getName()
ILocalizableInfo
getName in interface ILocalizableInfopublic java.lang.String getToolTipKey()
ILocalizableInfo
getToolTipKey in interface ILocalizableInfopublic java.lang.String getDisplayName()
ILocalizableInfo
getDisplayName in interface ILocalizableInfopublic java.lang.String getToolTip()
ILocalizableInfo
getToolTip in interface ILocalizableInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||