org.eclipse.emf.emfstore.internal.server.model.versioning.operations
Interface FeatureOperation

All Superinterfaces:
AbstractOperation, APIDelegate<ESOperation>, org.eclipse.emf.ecore.EObject, IdentifiableElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AttributeOperation, MultiAttributeMoveOperation, MultiAttributeOperation, MultiAttributeSetOperation, MultiReferenceMoveOperation, MultiReferenceOperation, MultiReferenceSetOperation, ReferenceOperation, SingleReferenceOperation
All Known Implementing Classes:
AttributeOperationImpl, FeatureOperationImpl, MultiAttributeMoveOperationImpl, MultiAttributeOperationImpl, MultiAttributeSetOperationImpl, MultiReferenceMoveOperationImpl, MultiReferenceOperationImpl, MultiReferenceSetOperationImpl, ReferenceOperationImpl, SingleReferenceOperationImpl

public interface FeatureOperation
extends AbstractOperation

A representation of the model object ' Feature Operation'.

The following features are supported:

See Also:
OperationsPackage.getFeatureOperation()

Method Summary
 org.eclipse.emf.ecore.EStructuralFeature getFeature(org.eclipse.emf.ecore.EObject modelElement)
          Get the feature from the eclass of the given model element.
 org.eclipse.emf.ecore.EStructuralFeature getFeature(Project project)
          Get the feature from the Eclass of the model element identified by the model element of the operation.
 String getFeatureName()
          Returns the value of the 'Feature Name' attribute.
 UnsetType getUnset()
          Returns the value of the 'Unset' attribute.
 void setFeatureName(String value)
          Sets the value of the ' Feature Name' attribute.
 void setUnset(UnsetType value)
          Sets the value of the ' Unset' attribute.
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation
apply, getAllInvolvedModelElements, getClientDate, getLeafOperations, getModelElementId, getOperationId, getOtherInvolvedModelElements, isAccepted, reverse, setAccepted, setClientDate, setModelElementId
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.model.IdentifiableElement
getIdentifier, setIdentifier
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.api.APIDelegate
createAPI, toAPI
 

Method Detail

getFeatureName

String getFeatureName()
Returns the value of the 'Feature Name' attribute. The default value is "".

If the meaning of the 'Feature Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Feature Name' attribute.
See Also:
setFeatureName(String), OperationsPackage.getFeatureOperation_FeatureName()

setFeatureName

void setFeatureName(String value)
Sets the value of the ' Feature Name' attribute.

Parameters:
value - the new value of the 'Feature Name' attribute.
See Also:
getFeatureName()

getUnset

UnsetType getUnset()
Returns the value of the 'Unset' attribute. The literals are from the enumeration UnsetType.

If the meaning of the 'Unset' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Unset' attribute.
See Also:
UnsetType, setUnset(UnsetType), OperationsPackage.getFeatureOperation_Unset()

setUnset

void setUnset(UnsetType value)
Sets the value of the ' Unset' attribute.

Parameters:
value - the new value of the 'Unset' attribute.
See Also:
UnsetType, getUnset()

getFeature

org.eclipse.emf.ecore.EStructuralFeature getFeature(Project project)
                                                    throws UnkownFeatureException
Get the feature from the Eclass of the model element identified by the model element of the operation.

Parameters:
project - the project
Returns:
the feature
Throws:
UnkownFeatureException - if the feature can not be found in the eclass of the corresponding model element

getFeature

org.eclipse.emf.ecore.EStructuralFeature getFeature(org.eclipse.emf.ecore.EObject modelElement)
                                                    throws UnkownFeatureException
Get the feature from the eclass of the given model element.

Parameters:
modelElement - the model element
Returns:
the feature
Throws:
UnkownFeatureException - if the feature can not be found in the eclass of the corresponding model element


Copyright © 2015. All Rights Reserved.