wt.ixb.conflictFramework.conflictResolution
Class IXConflictElement

java.lang.Object
  extended bywt.ixb.conflictFramework.conflictResolution.IXConflictElement
All Implemented Interfaces:
Serializable

public class IXConflictElement
extends Object
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  ConflictElement conflictElement
           
private  String key
           
private  Object[] params
           
private  String rb
           
private static String RESOURCE
           
 
Constructor Summary
IXConflictElement(IXReferenceConflict conflictType, IXReferenceConflictResolution[] resolverSet, IXReferenceConflictResolution defaultResolution, Object targetObj, String a_rb, String a_key, Object[] a_params)
          Constructor to create IXConflictElement taking params as conflictType, all possible resolutions, default resolution, conflicting object, resource, key and paramets for message.
 
Method Summary
 void addObjectIdToParams(String objId)
          Add objectId to message.
 ConflictElement getConflictElement()
          Gets the value of the attribute: conflictElement.
 String getKey()
          Gets the value of the attribute: key.
 Object[] getParams()
          Gets the value of the attribute: params.
 String getRb()
          Gets the value of the attribute: rb.
private  void keyValidate(String a_Key)
           
private  void rbValidate(String a_Rb)
           
 void setConflictElement(ConflictElement a_ConflictElement)
          Sets the value of the attribute: conflictElement.
 void setKey(String a_Key)
          Sets the value of the attribute: key.
 void setParams(Object[] a_Params)
          Sets the value of the attribute: params.
 void setRb(String a_Rb)
          Sets the value of the attribute: rb.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

conflictElement

private ConflictElement conflictElement

params

private Object[] params

key

private String key

rb

private String rb
Constructor Detail

IXConflictElement

public IXConflictElement(IXReferenceConflict conflictType,
                         IXReferenceConflictResolution[] resolverSet,
                         IXReferenceConflictResolution defaultResolution,
                         Object targetObj,
                         String a_rb,
                         String a_key,
                         Object[] a_params)
Constructor to create IXConflictElement taking params as conflictType, all possible resolutions, default resolution, conflicting object, resource, key and paramets for message.

Supported API: false

Parameters:
conflictType -
resolverSet -
defaultResolution -
targetObj -
a_rb -
a_key -
a_params -
Method Detail

getConflictElement

public ConflictElement getConflictElement()
Gets the value of the attribute: conflictElement.

Supported API: false

Returns:
ConflictElement

setConflictElement

public void setConflictElement(ConflictElement a_ConflictElement)
                        throws WTPropertyVetoException
Sets the value of the attribute: conflictElement.

Supported API: false

Parameters:
a_ConflictElement -
Throws:
WTPropertyVetoException

getParams

public Object[] getParams()
Gets the value of the attribute: params.

Supported API: false

Returns:
Object[]

setParams

public void setParams(Object[] a_Params)
               throws WTPropertyVetoException
Sets the value of the attribute: params.

Supported API: false

Parameters:
a_Params -
Throws:
WTPropertyVetoException

getKey

public String getKey()
Gets the value of the attribute: key.

Supported API: false

Returns:
String

setKey

public void setKey(String a_Key)
            throws WTPropertyVetoException
Sets the value of the attribute: key.

Supported API: false

Parameters:
a_Key -
Throws:
WTPropertyVetoException

keyValidate

private void keyValidate(String a_Key)
                  throws WTPropertyVetoException
Parameters:
a_Key -
Throws:
WTPropertyVetoException

getRb

public String getRb()
Gets the value of the attribute: rb.

Supported API: false

Returns:
String

setRb

public void setRb(String a_Rb)
           throws WTPropertyVetoException
Sets the value of the attribute: rb.

Supported API: false

Parameters:
a_Rb -
Throws:
WTPropertyVetoException

rbValidate

private void rbValidate(String a_Rb)
                 throws WTPropertyVetoException
Parameters:
a_Rb -
Throws:
WTPropertyVetoException

addObjectIdToParams

public void addObjectIdToParams(String objId)
Add objectId to message. For example, if for two WTPart, same folder is not found, ids of parts will be added to message element.

Supported API: false

Parameters:
objId -