Package wt.conflict

Class ConflictElement

java.lang.Object
wt.conflict.MessageElement
wt.conflict.ConflictElement
All Implemented Interfaces:
Externalizable, Serializable

public class ConflictElement extends wt.conflict.MessageElement implements Externalizable


Supported API: true

Extendable: true
See Also:
  • Constructor Details

    • ConflictElement

      public ConflictElement(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, LocalizableMessage message, Object targetObj)
      Create conflict object for given object, conflict type, resolutions, default resolution & object specific message.

      Supported API: true
      Parameters:
      conflictType -
      allResolutions -
      defaultResolution -
      message -
      targetObj -
    • ConflictElement

      public ConflictElement(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, WTCollection targetObjCollection, LocalizableMessage message)
      Create conflict object for objectcollection, conflict type, resolutions, default resolution & object specific message.

      Supported API: true
      Parameters:
      conflictType -
      allResolutions -
      defaultResolution -
      targetObjCollection -
      message -
    • ConflictElement

      public ConflictElement()
      Create conflict object for given object, conflict type, resolutions, default resolution & object specific message.

      Supported API: true
  • Method Details

    • getResolverSet

      public ResolutionType[] getResolverSet()
      Gets the value of the attribute: resolverSet.

      Supported API: true
      Returns:
      ResolutionType[]
    • setResolverSet

      public void setResolverSet(ResolutionType[] a_ResolverSet) throws WTPropertyVetoException
      Sets the value of the attribute: resolverSet.

      Supported API: true
      Parameters:
      a_ResolverSet -
      Throws:
      WTPropertyVetoException
    • getDefaultResolution

      public ResolutionType getDefaultResolution()
      Gets the value of the attribute: defaultResolution.

      Supported API: true
      Returns:
      ResolutionType
    • setDefaultResolution

      public void setDefaultResolution(ResolutionType a_DefaultResolution) throws WTPropertyVetoException
      Sets the value of the attribute: defaultResolution.

      Supported API: true
      Parameters:
      a_DefaultResolution -
      Throws:
      WTPropertyVetoException
    • toString

      public String toString()
      Creates String representation involving conflict code, possible resolutions, the objects involved and the time at which it is reported. Provided for logging.

      Supported API: true
      Overrides:
      toString in class wt.conflict.MessageElement
      Returns:
      String