|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.swift.egategui.pe.OtdBeanProperty
public class OtdBeanProperty
Title:
Description:
Copyright: Copyright (c) 2002
Company: SeeBeyond
Constructor Summary | |
---|---|
OtdBeanProperty(OtdBeanInfo beanInfo,
java.lang.String displayName,
java.lang.String propName,
com.stc.otd.forest.OtdWood otdWood)
Creates a new OtdBeanProperty object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getCountExpression(com.stc.editor.javamodel.IExpression input,
com.stc.editor.javamodel.IExpressionList args)
This method returns the count expression |
java.lang.String |
getCountMethodName()
This method returns the count method name |
java.lang.String |
getDisplayName()
This method returns the display name associated with this bean property |
java.lang.String |
getFullClassName()
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getGetter(com.stc.editor.javamodel.beans.IBeanProperty[] propertyPath,
com.stc.editor.javamodel.IExpression input)
This method returns the getter expression based on the property path |
com.stc.editor.javamodel.IExpression |
getGetter(com.stc.editor.javamodel.IExpression callExp)
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getGetter(com.stc.editor.javamodel.IExpression input,
com.stc.editor.javamodel.IExpressionList args)
This method returns the getter expression as represented by IExpression |
java.lang.String |
getGetterMethodName()
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getHasExpression(com.stc.editor.javamodel.IExpression input,
com.stc.editor.javamodel.IExpressionList args)
this method returns the has expression |
com.stc.editor.javamodel.IJavaModel |
getJCModel()
|
com.stc.editor.javamodel.IMethodDeclaration[] |
getMethods()
This method returns an array of method declarations |
java.lang.String |
getName()
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getSetter(com.stc.editor.javamodel.beans.IBeanProperty[] propertyPath,
com.stc.editor.javamodel.IExpression input,
com.stc.editor.javamodel.IExpressionList args)
This method returns the setter expression |
com.stc.editor.javamodel.IExpression |
getSetter(com.stc.editor.javamodel.IExpression input,
com.stc.editor.javamodel.IExpression arg)
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getSetter(com.stc.editor.javamodel.IExpression input,
com.stc.editor.javamodel.IExpressionList args)
This method returns the setter expression as represented by IExpression |
java.lang.String |
getSetterMethodName()
DOCUMENT ME! |
com.stc.editor.javamodel.beans.IBeanInfo |
getTypeBeanInfo()
DOCUMENT ME! |
java.lang.String |
getTypeName()
DOCUMENT ME! |
com.stc.editor.javamodel.IExpression |
getVarIndexExpression(com.stc.editor.javamodel.beans.IBeanProperty[] propertyPath)
This method returns the the variable index expression based on the bean property path |
boolean |
isGetter(java.lang.String name)
this method determines whether a method with the given name is a getter |
boolean |
isGetterRepeating()
Return true if the getter method is a repeating bean, repeating bean contains an integer index for getting the value of the bean. |
boolean |
isOptional()
this method returns is optional |
boolean |
isReadable()
This method returns true if this bean property is readable |
boolean |
isRepeating()
This method determines whether this bean property is a repeating type |
boolean |
isSetter(java.lang.String name)
This method determines whether a method with the given name is a setter |
boolean |
isSetterRepeating()
Return true if the setter method is a repeating bean, repeating bean contains an integer index to set the value into a the specified locationof the bean. |
boolean |
isWrittable()
This method returns true if this bean property is writtable |
void |
setIsOptional(boolean isOptional)
This method sets whether it is optional |
void |
setIsRepeating(boolean val)
This method sets whether it is repeatin node |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OtdBeanProperty(OtdBeanInfo beanInfo, java.lang.String displayName, java.lang.String propName, com.stc.otd.forest.OtdWood otdWood)
beanInfo
- DOCUMENT ME!displayName
- DOCUMENT ME!propName
- DOCUMENT ME!otdWood
- DOCUMENT ME!Method Detail |
---|
public java.lang.String getDisplayName()
getDisplayName
in interface com.stc.editor.javamodel.beans.IBeanProperty
public java.lang.String getFullClassName()
getFullClassName
in interface com.stc.editor.javamodel.beans.IBeanProperty
public com.stc.editor.javamodel.IMethodDeclaration[] getMethods()
getMethods
in interface com.stc.editor.javamodel.beans.IBeanProperty
public void setIsOptional(boolean isOptional)
setIsOptional
in interface com.stc.editor.javamodel.beans.IBeanProperty
isOptional
- is optionalpublic boolean isOptional()
isOptional
in interface com.stc.editor.javamodel.beans.IBeanProperty
public com.stc.editor.javamodel.IExpression getGetter(com.stc.editor.javamodel.IExpression callExp)
getGetter
in interface com.stc.editor.javamodel.beans.IBeanProperty
callExp
- DOCUMENT ME!
public java.lang.String getCountMethodName()
getCountMethodName
in interface com.stc.editor.javamodel.beans.IBeanProperty
public java.lang.String getGetterMethodName()
getGetterMethodName
in interface com.stc.editor.javamodel.beans.IBeanProperty
public java.lang.String getName()
getName
in interface com.stc.editor.javamodel.beans.IBeanProperty
public com.stc.editor.javamodel.IExpression getSetter(com.stc.editor.javamodel.IExpression input, com.stc.editor.javamodel.IExpression arg)
input
- DOCUMENT ME!arg
- DOCUMENT ME!
public java.lang.String getSetterMethodName()
getSetterMethodName
in interface com.stc.editor.javamodel.beans.IBeanProperty
public com.stc.editor.javamodel.beans.IBeanInfo getTypeBeanInfo() throws com.stc.editor.javamodel.beans.BeanInfoNotFoundException
getTypeBeanInfo
in interface com.stc.editor.javamodel.beans.IBeanProperty
com.stc.editor.javamodel.beans.BeanInfoNotFoundException
- DOCUMENT ME!public java.lang.String getTypeName()
public boolean isGetter(java.lang.String name)
isGetter
in interface com.stc.editor.javamodel.beans.IBeanProperty
name
- name
public boolean isReadable()
isReadable
in interface com.stc.editor.javamodel.beans.IBeanProperty
public boolean isSetter(java.lang.String name)
isSetter
in interface com.stc.editor.javamodel.beans.IBeanProperty
name
- name
public boolean isWrittable()
isWrittable
in interface com.stc.editor.javamodel.beans.IBeanProperty
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- DOCUMENT ME!
public boolean isRepeating()
isRepeating
in interface com.stc.editor.javamodel.beans.IBeanProperty
public com.stc.editor.javamodel.IExpression getGetter(com.stc.editor.javamodel.IExpression input, com.stc.editor.javamodel.IExpressionList args)
input
- input to be usedargs
- arguments
public void setIsRepeating(boolean val)
setIsRepeating
in interface com.stc.editor.javamodel.beans.IBeanProperty
val
- a valuepublic boolean isGetterRepeating()
public boolean isSetterRepeating()
public com.stc.editor.javamodel.IExpression getSetter(com.stc.editor.javamodel.IExpression input, com.stc.editor.javamodel.IExpressionList args)
getSetter
in interface com.stc.editor.javamodel.beans.IBeanProperty
input
- argument to be usedargs
- arg
public com.stc.editor.javamodel.IExpression getVarIndexExpression(com.stc.editor.javamodel.beans.IBeanProperty[] propertyPath)
propertyPath
- the path of the properties
public com.stc.editor.javamodel.IExpression getCountExpression(com.stc.editor.javamodel.IExpression input, com.stc.editor.javamodel.IExpressionList args)
getCountExpression
in interface com.stc.editor.javamodel.beans.IBeanProperty
input
- input expressionargs
- arguments
public com.stc.editor.javamodel.IExpression getHasExpression(com.stc.editor.javamodel.IExpression input, com.stc.editor.javamodel.IExpressionList args)
getHasExpression
in interface com.stc.editor.javamodel.beans.IBeanProperty
input
- input expressionargs
- args
public com.stc.editor.javamodel.IExpression getSetter(com.stc.editor.javamodel.beans.IBeanProperty[] propertyPath, com.stc.editor.javamodel.IExpression input, com.stc.editor.javamodel.IExpressionList args)
getSetter
in interface com.stc.editor.javamodel.beans.IBeanProperty
propertyPath
- the bean property pathinput
- the inputargs
- the args
public com.stc.editor.javamodel.IExpression getGetter(com.stc.editor.javamodel.beans.IBeanProperty[] propertyPath, com.stc.editor.javamodel.IExpression input)
getGetter
in interface com.stc.editor.javamodel.beans.IBeanProperty
propertyPath
- thep property pathinput
- input
public java.lang.String toString()
toString
in class java.lang.Object
public com.stc.editor.javamodel.IJavaModel getJCModel()
|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |