|
||||||||
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(java.lang.String nature)
Adds a Nature. |
protected JDOClassDescriptorResolver |
getClassDescriptorResolver()
Returns the JDOClassDescriptorResolver used to register
ClassDescriptor instances during their creation. |
java.lang.Object |
getProperty(java.lang.String name)
Get a Nature property. |
boolean |
hasNature(java.lang.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(java.lang.String name,
java.lang.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 java.lang.Object getProperty(java.lang.String name)
getProperty
in interface PropertyHolder
name
- Name of the property.
public final void setProperty(java.lang.String name, java.lang.Object value)
setProperty
in interface PropertyHolder
name
- Name of the property.value
- Value of the property.public final void addNature(java.lang.String nature)
addNature
in interface NatureExtendable
nature
- Nature Id.public final boolean hasNature(java.lang.String nature)
hasNature
in interface NatureExtendable
nature
- 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 ClassDescriptorResolutionCommand
classDescriptorResolver
- JDOClassDescriptorResolver
instance to be used.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |