org.apache.beehive.controls.runtime.generator
Class AptControlInterfaceProperty

Object
  extended by AptControlInterfaceProperty

public final class AptControlInterfaceProperty
extends Object

A property derived from a getter/setter method of the control interface.


Constructor Summary
AptControlInterfaceProperty(String name, String getterName, String setterName)
          Constructs a new AptControlInterfaceProperty instance.
 
Method Summary
 String getGetterName()
          Get the getter method name.
 String getName()
          Get the property name.
 String getSetterName()
          Get the setter method name.
protected  void setGetterName(String getterName)
          Set the getter method name.
protected  void setSetterName(String setterName)
          Set the setter method name.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptControlInterfaceProperty

public AptControlInterfaceProperty(String name,
                                   String getterName,
                                   String setterName)
Constructs a new AptControlInterfaceProperty instance.

Parameters:
name - Property name, may not be null.
getterName - Getter method name, may be null.
setterName - Setter method name, may be null.
Method Detail

setSetterName

protected void setSetterName(String setterName)
Set the setter method name.

Parameters:
setterName -

setGetterName

protected void setGetterName(String getterName)
Set the getter method name.

Parameters:
getterName -

getSetterName

public String getSetterName()
Get the setter method name.

Returns:
setter method name, may be null.

getGetterName

public String getGetterName()
Get the getter method name.

Returns:
getter method name, may be null.

getName

public String getName()
Get the property name.

Returns:
Property name.