LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.java
Class LyAttributeField

java.lang.Object
  extended by leon.peer.LyPeerField
      extended by leon.peer.java.LyAttributeField
All Implemented Interfaces:
LyField

public class LyAttributeField
extends LyPeerField

The implementation of Lyfield to describe attributes of a LyJavaClass.

See Also:
LyJavaClass, LyField

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyAttributeField(java.lang.String name)
          Constructor.
 
Method Summary
 java.lang.reflect.Method getGetMethod(LyJavaClass javaClass)
          Accessor to the get method for this field.
 java.lang.String getGetMethodName(LyJavaClass javaClass)
          Accessor to the get method for this field.
 java.lang.String getId()
          Gets the identifier of this field.
 java.lang.reflect.Method getSetMethod(LyJavaClass javaClass)
          Accessor to the set method for this field.
 java.lang.String getSetMethodName(LyJavaClass javaClass)
          Accessor to the set method for this field.
 java.lang.Class<?> getValueClass()
          Gets the java class representation of the value of this field.
 void setValueClass(java.lang.Class<?> valueClass)
          Sets the java class representation of the value of this field.
 
Methods inherited from class leon.peer.LyPeerField
buildFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyAttributeField

public LyAttributeField(java.lang.String name)
Constructor.

Method Detail

getId

public java.lang.String getId()
Gets the identifier of this field.

Returns:
the identifier of this field.

getValueClass

public java.lang.Class<?> getValueClass()
Gets the java class representation of the value of this field.

Returns:
the java class representation of this field.

setValueClass

public void setValueClass(java.lang.Class<?> valueClass)
Sets the java class representation of the value of this field.

Parameters:
valueClass - the java class representation of this field.

getGetMethodName

public java.lang.String getGetMethodName(LyJavaClass javaClass)
Accessor to the get method for this field.

Parameters:
javaClass - the javaClass
Returns:
the get method

getGetMethod

public java.lang.reflect.Method getGetMethod(LyJavaClass javaClass)
Accessor to the get method for this field.

Parameters:
javaClass - the javaClass
Returns:
the get method

getSetMethodName

public java.lang.String getSetMethodName(LyJavaClass javaClass)
Accessor to the set method for this field.

Parameters:
javaClass - the javaClass
Returns:
the set method

getSetMethod

public java.lang.reflect.Method getSetMethod(LyJavaClass javaClass)
Accessor to the set method for this field.

Parameters:
javaClass - the javaClass
Returns:
the set method

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com