NatureExtendable
, PropertyHolder
, ClassDescriptorResolutionCommand
ClassResolutionByAnnotations
, ClassResolutionByCDR
, ClassResolutionByFile
, ClassResolutionByMappingLoader
public abstract class BaseResolutionCommand extends java.lang.Object implements ClassDescriptorResolutionCommand
HashMap
based property implementation for a
ClassDescriptorResolutionCommand
.Constructor | Description |
---|---|
BaseResolutionCommand() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
resolve
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.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com