| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ATTRIBUTE_ACCESSOR | |
| public abstract Class | Returns: TODOPUBLIC: The classification type for the attribute this mapping represents |
| public abstract String | |
| public abstract Object | Returns: TODOTODO object)INTERNAL: Return the value of an attribute which this mapping represents for an object. |
| public abstract CONTAINER_POLICY | |
| public abstract DESCRIPTOR | |
| public abstract FIELD | Returns: TODOINTERNAL: Return the field associated with this mapping if there is exactly one. |
| public abstract Vector | |
| public abstract DESCRIPTOR | |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Related mapping should implement this method to return true. |
| public abstract boolean | Returns: TODOINTERNAL: Some mappings support no attribute (transformation and multitenant primary key). |
| public abstract void | |
| public abstract void | |
| public abstract void | setAttributeValueInObject(Object
TODO object, Object TODO value)INTERNAL: Set the value of the attribute mapped by this mapping. |
| public abstract void | |
| protected abstract void | |
| public abstract Object | Returns: TODOTODO anObject, FIELD TODO field, ABSTRACT_SESSION TODO session)INTERNAL: A subclass should extract the value from the object for the field, if it does not map the field then it should return null. |
| CoreMapping | back to summary |
|---|---|
| protected CoreMapping() Default constructor. | |
| getAttributeAccessor | back to summary |
|---|---|
| public abstract ATTRIBUTE_ACCESSOR getAttributeAccessor() ADVANCED: Return the attributeAccessor. The attribute accessor is responsible for setting and retrieving the attribute value from the object for this mapping.
| |
| getAttributeClassification | back to summary |
|---|---|
| public abstract Class PUBLIC: The classification type for the attribute this mapping represents
| |
| getAttributeName | back to summary |
|---|---|
| public abstract String getAttributeName() PUBLIC: Return the name of the attribute set in the mapping.
| |
| getAttributeValueFromObject | back to summary |
|---|---|
| public abstract Object getAttributeValueFromObject(Object object) INTERNAL: Return the value of an attribute which this mapping represents for an object. | |
| getContainerPolicy | back to summary |
|---|---|
| public abstract CONTAINER_POLICY getContainerPolicy() INTERNAL: Return the mapping's containerPolicy.
| |
| getDescriptor | back to summary |
|---|---|
| public abstract DESCRIPTOR getDescriptor() INTERNAL: Return the descriptor to which this mapping belongs
| |
| getField | back to summary |
|---|---|
| public abstract FIELD getField() INTERNAL: Return the field associated with this mapping if there is exactly one. This is required for object relational mapping to print them, but because they are defined in in an Enterprise context they cannot be cast to. Mappings that have a field include direct mappings and object relational mappings.
| |
| getFields | back to summary |
|---|---|
| public abstract Vector INTERNAL: Returns a vector of all the fields this mapping represents.
| |
| getReferenceDescriptor | back to summary |
|---|---|
| public abstract DESCRIPTOR getReferenceDescriptor() PUBLIC: Return the referenceDescriptor. This is a descriptor which is associated with the reference class.
| |
| isAbstractCompositeCollectionMapping | back to summary |
|---|---|
| public abstract boolean isAbstractCompositeCollectionMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isAbstractCompositeDirectCollectionMapping | back to summary |
|---|---|
| public abstract boolean isAbstractCompositeDirectCollectionMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isAbstractCompositeObjectMapping | back to summary |
|---|---|
| public abstract boolean isAbstractCompositeObjectMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isAbstractDirectMapping | back to summary |
|---|---|
| public abstract boolean isAbstractDirectMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isCollectionMapping | back to summary |
|---|---|
| public abstract boolean isCollectionMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isDirectToFieldMapping | back to summary |
|---|---|
| public abstract boolean isDirectToFieldMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isReadOnly | back to summary |
|---|---|
| public abstract boolean isReadOnly() INTERNAL: Returns true if mapping is read only else false.
| |
| isReferenceMapping | back to summary |
|---|---|
| public abstract boolean isReferenceMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isTransformationMapping | back to summary |
|---|---|
| public abstract boolean isTransformationMapping() INTERNAL: Related mapping should implement this method to return true.
| |
| isWriteOnly | back to summary |
|---|---|
| public abstract boolean isWriteOnly() INTERNAL: Some mappings support no attribute (transformation and multitenant primary key).
| |
| setAttributeAccessor | back to summary |
|---|---|
| public abstract void setAttributeAccessor(ATTRIBUTE_ACCESSOR attributeAccessor) ADVANCED: Set the attributeAccessor. The attribute accessor is responsible for setting and retrieving the attribute value from the object for this mapping. This can be set to an implementor of AttributeAccessor if the attribute requires advanced conversion of the mapping value, or a real attribute does not exist.
| |
| setAttributeName | back to summary |
|---|---|
| public abstract void setAttributeName(String attributeName) PUBLIC: Sets the name of the attribute in the mapping.
| |
| setAttributeValueInObject | back to summary |
|---|---|
| public abstract void setAttributeValueInObject(Object object, Object value) INTERNAL: Set the value of the attribute mapped by this mapping. | |
| setDescriptor | back to summary |
|---|---|
| public abstract void setDescriptor(DESCRIPTOR descriptor) INTERNAL: Set the descriptor to which this mapping belongs
| |
| setFields | back to summary |
|---|---|
| protected abstract void setFields(Vector<FIELD> fields) INTERNAL: Set the mapping's field collection.
| |
| valueFromObject | back to summary |
|---|---|
| public abstract Object valueFromObject(Object anObject, FIELD field, ABSTRACT_SESSION session) INTERNAL: A subclass should extract the value from the object for the field, if it does not map the field then it should return null. Return the Value from the object. | |