org.eclipse.emf.emfstore.internal.client.model.changeTracking.merging.conflict
Class ConflictContext

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.model.changeTracking.merging.conflict.ConflictContext

public class ConflictContext
extends Object

Holding the data for the context of an conflict.

Author:
wesendon

Constructor Summary
ConflictContext(DecisionManager manager, AbstractOperation myOperation, AbstractOperation theirOperation)
          Alternative constructor.
ConflictContext(org.eclipse.emf.ecore.EObject modelElement, String opponent)
          Alternative constructor.
ConflictContext(org.eclipse.emf.ecore.EObject modelElement, String attribute, String opponent)
          Default constructor.
 
Method Summary
 String getAttribute()
          Get Attribute.
 String getAttributeTitleLabel()
          Get label of attribute.
 org.eclipse.emf.ecore.EObject getModelElement()
          Get ModelELement.
 String getModelElementTitleLabel()
          Get label for Modelelement.
 String getOpponent()
          Get Opponent.
 String getOpponentTitleLabel()
          Get label of opponent.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConflictContext

public ConflictContext(org.eclipse.emf.ecore.EObject modelElement,
                       String attribute,
                       String opponent)
Default constructor.

Parameters:
modelElement - element
attribute - attribute
opponent - opponent

ConflictContext

public ConflictContext(org.eclipse.emf.ecore.EObject modelElement,
                       String opponent)
Alternative constructor.

Parameters:
modelElement - element
opponent - opponent

ConflictContext

public ConflictContext(DecisionManager manager,
                       AbstractOperation myOperation,
                       AbstractOperation theirOperation)
Alternative constructor.

Parameters:
manager - decisionmanager
myOperation - my op
theirOperation - their op
Method Detail

getModelElement

public org.eclipse.emf.ecore.EObject getModelElement()
Get ModelELement.

Returns:
element

getAttribute

public String getAttribute()
Get Attribute.

Returns:
attribute

getOpponent

public String getOpponent()
Get Opponent.

Returns:
opponent

getModelElementTitleLabel

public String getModelElementTitleLabel()
Get label for Modelelement.

Returns:
label

getAttributeTitleLabel

public String getAttributeTitleLabel()
Get label of attribute.

Returns:
label

getOpponentTitleLabel

public String getOpponentTitleLabel()
Get label of opponent.

Returns:
label


Copyright © 2015. All Rights Reserved.