com.ibm.websphere.models.extensions.pushdownejbext
Interface PushDownCMPAttribute

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
PushDownCMPAttributeImpl

public interface PushDownCMPAttribute
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Push Down CMP Attribute'. CMP attribute mapping info for procedural CMP beans.

The following features are supported:

See Also:
PushdownejbextPackage.getPushDownCMPAttribute()

Method Summary
 java.lang.String getBackEndAttributeName()
          Returns the value of the 'Back End Attribute Name' attribute
 org.eclipse.jst.j2ee.ejb.CMPAttribute getCmpAttribute()
          Returns the value of the 'Cmp Attribute' reference
 boolean isComputedValue()
          Returns the value of the 'Computed Value' attribute.
 boolean isSetComputedValue()
          Returns whether the value of the 'Computed Value' attribute is set
 void setBackEndAttributeName(java.lang.String value)
          Sets the value of the 'Back End Attribute Name' attribute
 void setCmpAttribute(org.eclipse.jst.j2ee.ejb.CMPAttribute value)
          Sets the value of the 'Cmp Attribute' reference
 void setComputedValue(boolean value)
          Sets the value of the 'Computed Value' attribute
 void unsetComputedValue()
          Unsets the value of the 'Computed Value' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getBackEndAttributeName

java.lang.String getBackEndAttributeName()
Returns the value of the 'Back End Attribute Name' attribute. Maps a CMP attribute to a non-relational back-end datastore. This mapping info is not used for CMP beans using relational stored procedures (which have their own mapping metadata).

Returns:
the value of the 'Back End Attribute Name' attribute.
See Also:
setBackEndAttributeName(String), PushdownejbextPackage.getPushDownCMPAttribute_BackEndAttributeName()

setBackEndAttributeName

void setBackEndAttributeName(java.lang.String value)
Sets the value of the 'Back End Attribute Name' attribute.

Parameters:
value - the new value of the 'Back End Attribute Name' attribute.
See Also:
getBackEndAttributeName()

isComputedValue

boolean isComputedValue()
Returns the value of the 'Computed Value' attribute. The default value is "false". Indicates whether the value of the CMP field is computed by a back-end method/procedure. If true, then the attribute's getter method is treated as a push-down method.

Returns:
the value of the 'Computed Value' attribute.
See Also:
isSetComputedValue(), unsetComputedValue(), setComputedValue(boolean), PushdownejbextPackage.getPushDownCMPAttribute_ComputedValue()

setComputedValue

void setComputedValue(boolean value)
Sets the value of the 'Computed Value' attribute.

Parameters:
value - the new value of the 'Computed Value' attribute.
See Also:
isSetComputedValue(), unsetComputedValue(), isComputedValue()

unsetComputedValue

void unsetComputedValue()
Unsets the value of the 'Computed Value' attribute.

See Also:
isSetComputedValue(), isComputedValue(), setComputedValue(boolean)

isSetComputedValue

boolean isSetComputedValue()
Returns whether the value of the 'Computed Value' attribute is set.

Returns:
whether the value of the 'Computed Value' attribute is set.
See Also:
unsetComputedValue(), isComputedValue(), setComputedValue(boolean)

getCmpAttribute

org.eclipse.jst.j2ee.ejb.CMPAttribute getCmpAttribute()
Returns the value of the 'Cmp Attribute' reference. The CMP attribute to which this push-down info applies.

Returns:
the value of the 'Cmp Attribute' reference.
See Also:
setCmpAttribute(CMPAttribute), PushdownejbextPackage.getPushDownCMPAttribute_CmpAttribute()

setCmpAttribute

void setCmpAttribute(org.eclipse.jst.j2ee.ejb.CMPAttribute value)
Sets the value of the 'Cmp Attribute' reference.

Parameters:
value - the new value of the 'Cmp Attribute' reference.
See Also:
getCmpAttribute()