Package wt.conflict
Class ConflictElement
java.lang.Object
wt.conflict.MessageElement
wt.conflict.ConflictElement
- All Implemented Interfaces:
Externalizable,Serializable
Supported API: true
Extendable: true
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate conflict object for given object, conflict type, resolutions, default resolution invalid input: '&' object specific message.ConflictElement(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, WTCollection targetObjCollection, LocalizableMessage message) Create conflict object for objectcollection, conflict type, resolutions, default resolution invalid input: '&' object specific message.ConflictElement(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, LocalizableMessage message, Object targetObj) Create conflict object for given object, conflict type, resolutions, default resolution invalid input: '&' object specific message. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: defaultResolution.Gets the value of the attribute: resolverSet.voidsetDefaultResolution(ResolutionType a_DefaultResolution) Sets the value of the attribute: defaultResolution.voidsetResolverSet(ResolutionType[] a_ResolverSet) Sets the value of the attribute: resolverSet.toString()Creates String representation involving conflict code, possible resolutions, the objects involved and the time at which it is reported.Methods inherited from class wt.conflict.MessageElement
getCode, getConflictTime, getMessage, getObjectCollection, getObjectPropertiesCollection, getObjectsToBusinessObjectsMap, readVersion, setCode, setConflictTime, setMessage, setObjectCollection, setObjectPropertiesCollection, setObjectsToBusinessObjectsMap
-
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 invalid input: '&' 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 invalid input: '&' 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 invalid input: '&' object specific message.
Supported API: true
-
-
Method Details
-
getResolverSet
Gets the value of the attribute: resolverSet.
Supported API: true- Returns:
- ResolutionType[]
-
setResolverSet
Sets the value of the attribute: resolverSet.
Supported API: true- Parameters:
a_ResolverSet-- Throws:
WTPropertyVetoException
-
getDefaultResolution
Gets the value of the attribute: defaultResolution.
Supported API: true- Returns:
- ResolutionType
-
setDefaultResolution
Sets the value of the attribute: defaultResolution.
Supported API: true- Parameters:
a_DefaultResolution-- Throws:
WTPropertyVetoException
-
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:
toStringin classwt.conflict.MessageElement- Returns:
- String
-