NatureClassDescriptorJDONature, ClassLoaderNature, FieldDescriptorJDONature, JDOClassInfoNature, JDOFieldInfoNature, JDOOneToManyNature, JDOOneToOneNature, JPAClassNature, JPAFieldNature, MappingLoaderNature, PackageBasedCDRResolutionNature, XMLInfoNaturepublic abstract class BaseNature extends java.lang.Object implements Nature
| Modifier | Constructor | Description |
|---|---|---|
protected |
BaseNature(PropertyHolder holder) |
Constructor taking a
PropertyHolder. |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
getBooleanPropertyDefaultFalse(java.lang.String propertyName) |
Returns boolean value of the property or false if property value is null.
|
protected PropertyHolder |
getHolder() |
Returns the
PropertyHolder. |
protected java.lang.Object |
getProperty(java.lang.String key) |
Returns the property mapped to the key or null if not set before.
|
protected java.util.List |
getPropertyAsList(java.lang.String property) |
Returns value of the property as a List.
|
protected java.util.Map |
getPropertyAsMap(java.lang.String property) |
Returns value of the property as a List.
|
protected void |
setProperty(java.lang.String key,
java.lang.Object property) |
Sets the property for a given.
|
protected BaseNature(PropertyHolder holder)
PropertyHolder. Must be called from
subclasses. Does a health check on the given PropertyHolder, whether the
extending Nature exists.holder - a PropertyHolder.protected final java.lang.Object getProperty(java.lang.String key)
key - to look up.protected final void setProperty(java.lang.String key,
java.lang.Object property)
property - to set.key - to insert.protected final boolean getBooleanPropertyDefaultFalse(java.lang.String propertyName)
propertyName - name of the property.protected final PropertyHolder getHolder()
PropertyHolder.protected java.util.List getPropertyAsList(java.lang.String property)
propertyName - name of the property.protected java.util.Map getPropertyAsMap(java.lang.String property)
propertyName - name of the property.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com