org.jtheque.core.managers.properties
Class Property

java.lang.Object
  extended by org.jtheque.core.managers.properties.Property

public final class Property
extends java.lang.Object

A Property.

Author:
Baptiste Wicht

Constructor Summary
Property()
           
 
Method Summary
 java.lang.reflect.Method getGetter()
          Return the getter method.
 java.lang.String getName()
          Return the name of the property.
 java.lang.reflect.Method getSetter()
          Return the setter method.
 void setGetter(java.lang.reflect.Method getter)
          Set the getter method.
 void setName(java.lang.String name)
          Set the name of the property.
 void setSetter(java.lang.reflect.Method setter)
          Set the setter method.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property()
Method Detail

getName

public java.lang.String getName()
Return the name of the property.

Returns:
The name of the property.

setName

public void setName(java.lang.String name)
Set the name of the property.

Parameters:
name - The name of the property.

getGetter

public java.lang.reflect.Method getGetter()
Return the getter method.

Returns:
The getter method.

setGetter

public void setGetter(java.lang.reflect.Method getter)
Set the getter method.

Parameters:
getter - The getter method.

getSetter

public java.lang.reflect.Method getSetter()
Return the setter method.

Returns:
The setter method.

setSetter

public void setSetter(java.lang.reflect.Method setter)
Set the setter method.

Parameters:
setter - The setter method.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 JTheque. All Rights Reserved.