public class AttributeMethodDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
getter
Java method used as a getter for attributes and the only thing called for 4GL methods.
|
boolean |
instance
Flag to denote if the getter/setters are static or instance methods.
|
java.lang.String |
setter
Java method used as a setter for attribute assignment.
|
java.lang.String |
wrapper
The type of the resource used for unwrapping handles.
|
Constructor and Description |
---|
AttributeMethodDescriptor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGetter()
Obtain the Java method used as a getter for attributes and the only thing called for 4GL
methods.
|
boolean |
getInstance()
Obtain the flag that denotes if the getter/setters are static or instance methods.
|
java.lang.String |
getSetter()
Obtain the Java method used as a setter for attributes.
|
java.lang.String |
getWrapper()
Obtain the type of the resource used for unwrapping handles.
|
void |
setGetter(java.lang.String getter)
Assign the Java method used as a getter for attributes and the only thing called for 4GL
methods.
|
void |
setInstance(boolean instance)
Assign the flag that denotes if the getter/setters are static or instance methods.
|
void |
setSetter(java.lang.String setter)
Assign the Java method used as a setter for attributes.
|
void |
setWrapper(java.lang.String wrapper)
Assign the type of the resource used for unwrapping handles.
|
public java.lang.String wrapper
public java.lang.String getter
public java.lang.String setter
public boolean instance
public java.lang.String getWrapper()
public void setWrapper(java.lang.String wrapper)
wrapper
- The resource type.public java.lang.String getGetter()
public void setGetter(java.lang.String getter)
getter
- The method name.public java.lang.String getSetter()
public void setSetter(java.lang.String setter)
setter
- The method name.public boolean getInstance()
true
if this is an instance method.public void setInstance(boolean instance)
instance
- true
if this is an instance method.