|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.util.classresolution.command.BaseResolutionCommand
public abstract class BaseResolutionCommand
Provides basic HashMap based property implementation for a
ClassDescriptorResolutionCommand.
| Constructor Summary | |
|---|---|
BaseResolutionCommand()
|
|
| Method Summary | |
|---|---|
void |
addNature(String nature)
Adds a Nature. |
protected JDOClassDescriptorResolver |
getClassDescriptorResolver()
Returns the JDOClassDescriptorResolver used to register
ClassDescriptor instances during their creation. |
Object |
getProperty(String name)
Get a Nature property. |
boolean |
hasNature(String nature)
Returns true if the Nature with the given name was added before, false if not. |
void |
setClassDescriptorResolver(JDOClassDescriptorResolver classDescriptorResolver)
Sets a JDOClassDescriptorResolver instance to be used for
ClassDescriptor registration. |
void |
setProperty(String name,
Object value)
Set a Nature property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.castor.cpa.util.classresolution.command.ClassDescriptorResolutionCommand |
|---|
resolve |
| Constructor Detail |
|---|
public BaseResolutionCommand()
| Method Detail |
|---|
public final Object getProperty(String name)
getProperty in interface PropertyHoldername - Name of the property.
public final void setProperty(String name,
Object value)
setProperty in interface PropertyHoldername - Name of the property.value - Value of the property.public final void addNature(String nature)
addNature in interface NatureExtendablenature - Nature Id.public final boolean hasNature(String nature)
hasNature in interface NatureExtendablenature - Nature Id.
protected JDOClassDescriptorResolver getClassDescriptorResolver()
JDOClassDescriptorResolver used to register
ClassDescriptor instances during their creation.
JDOClassDescriptorResolver used to register
ClassDescriptor instancespublic void setClassDescriptorResolver(JDOClassDescriptorResolver classDescriptorResolver)
JDOClassDescriptorResolver instance to be used for
ClassDescriptor registration.
setClassDescriptorResolver in interface ClassDescriptorResolutionCommandclassDescriptorResolver - JDOClassDescriptorResolver instance to be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||