org.castor.core.nature
Interface PropertyHolder

All Superinterfaces:
NatureExtendable

public interface PropertyHolder
extends NatureExtendable

PropertyHolder provides get and set methods on a holder.

Since:
1.2.1
Author:
Sebastian Gabmeyer
See Also:
ClassInfo, Nature

Method Summary
 Object getProperty(String name)
          Get a property by its name.
 void setProperty(String name, Object value)
          Set a property specified by the name to the passed value.
 
Methods inherited from interface org.castor.core.nature.NatureExtendable
addNature, hasNature
 

Method Detail

getProperty

Object getProperty(String name)
Get a property by its name.

Parameters:
name - the name of the property to get.
Returns:
the property as specified by the name.

setProperty

void setProperty(String name,
                 Object value)
Set a property specified by the name to the passed value.

Parameters:
name - the name of the property to set.
value - the value to set the specified property to.


Copyright © 2012. All Rights Reserved.