wt.conflict
Class ConflictResolution

java.lang.Object
  extended bywt.conflict.ConflictResolution
All Implemented Interfaces:
Serializable

public class ConflictResolution
extends Object
implements Serializable

ConflictResolution to contain resolution code for given conflict code and object. It is created by client to address conflicts occurred or conflicts foreseen.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  ConflictType conflictCode
           
private  WTCollection objectCollection
           
private  ResolutionType resolverCode
           
private static String RESOURCE
           
 
Constructor Summary
ConflictResolution(ConflictType conflictCode, ResolutionType resolverCode)
          

Supported API: false
ConflictResolution(ConflictType conflictCode, ResolutionType resolverCode, WTCollection objectCollection)
          

Supported API: false
 
Method Summary
 ConflictType getConflictCode()
          Gets the value of the attribute: conflictCode; This will identify the conflict.
 WTCollection getObjectCollection()
          Gets the value of the attribute: objectCollection; This is collection of objects.
 ResolutionType getResolverCode()
          Gets the value of the attribute: resolverCode; This is the resolution chosen by the client for this conflict code for the given object type.
private  void initialize(ConflictType conflictCode, ResolutionType resolverCode)
           
 void setConflictCode(ConflictType a_ConflictCode)
          Sets the value of the attribute: conflictCode; This will identify the conflict.
 void setObjectCollection(WTCollection a_ObjectCollection)
          Sets the value of the attribute: objectCollection; This is collection of objects.
 void setResolverCode(ResolutionType a_ResolverCode)
          Sets the value of the attribute: resolverCode; This is the resolution chosen by the client for this conflict code for the given object type.
 String toString()
          

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

conflictCode

private ConflictType conflictCode

resolverCode

private ResolutionType resolverCode

objectCollection

private WTCollection objectCollection
Constructor Detail

ConflictResolution

public ConflictResolution(ConflictType conflictCode,
                          ResolutionType resolverCode,
                          WTCollection objectCollection)


Supported API: false

Parameters:
conflictCode -
resolverCode -
objectCollection -

ConflictResolution

public ConflictResolution(ConflictType conflictCode,
                          ResolutionType resolverCode)


Supported API: false

Parameters:
conflictCode -
resolverCode -
Method Detail

getConflictCode

public ConflictType getConflictCode()
Gets the value of the attribute: conflictCode; This will identify the conflict. ConflictType will provide the localizable description for the conflict.

Supported API: false

Returns:
ConflictType

setConflictCode

public void setConflictCode(ConflictType a_ConflictCode)
                     throws WTPropertyVetoException
Sets the value of the attribute: conflictCode; This will identify the conflict. ConflictType will provide the localizable description for the conflict.

Supported API: false

Parameters:
a_ConflictCode -
Throws:
WTPropertyVetoException

getResolverCode

public ResolutionType getResolverCode()
Gets the value of the attribute: resolverCode; This is the resolution chosen by the client for this conflict code for the given object type. ResolutionType will provide the localizable description for the resolution codes.

Supported API: false

Returns:
ResolutionType

setResolverCode

public void setResolverCode(ResolutionType a_ResolverCode)
                     throws WTPropertyVetoException
Sets the value of the attribute: resolverCode; This is the resolution chosen by the client for this conflict code for the given object type. ResolutionType will provide the localizable description for the resolution codes.

Supported API: false

Parameters:
a_ResolverCode -
Throws:
WTPropertyVetoException

getObjectCollection

public WTCollection getObjectCollection()
Gets the value of the attribute: objectCollection; This is collection of objects. For the case in which the objects would not be persistent, this would represent (wt.fc.IdentificationObject) non-persisted containing the identity of the object.

Supported API: false

Returns:
WTCollection

setObjectCollection

public void setObjectCollection(WTCollection a_ObjectCollection)
                         throws WTPropertyVetoException
Sets the value of the attribute: objectCollection; This is collection of objects. For the case in which the objects would not be persistent, this would represent (wt.fc.IdentificationObject) non-persisted containing the identity of the object.

Supported API: false

Parameters:
a_ObjectCollection -
Throws:
WTPropertyVetoException

toString

public String toString()


Supported API: false

Returns:
String

initialize

private void initialize(ConflictType conflictCode,
                        ResolutionType resolverCode)