public abstract class BaseResolutionCommand extends Object implements ClassDescriptorResolutionCommand
HashMap based property implementation for a
ClassDescriptorResolutionCommand.| Constructor and Description |
|---|
BaseResolutionCommand() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolvepublic 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.Copyright © 2014. All rights reserved.