org.castor.core.nature
Interface NatureExtendable

All Known Subinterfaces:
PropertyHolder

public interface NatureExtendable

Defines a marker interface that any class needs to implement that wants to allow natures to be layered on top.

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

Method Summary
 void addNature(String nature)
          Adds a specified nature.
 boolean hasNature(String nature)
          Checks if a specified nature has been added.
 

Method Detail

hasNature

boolean hasNature(String nature)
Checks if a specified nature has been added.

Parameters:
nature - the name of the nature.
Returns:
true if the specified nature was added.

addNature

void addNature(String nature)
Adds a specified nature.

Parameters:
nature - the name of the nature


Copyright © 2012. All Rights Reserved.