|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.conflict.MessageElement
wt.conflict.ConflictElement
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private ResolutionType |
defaultResolution
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private ResolutionType[] |
resolverSet
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.conflict.MessageElement |
|
Constructor Summary | |
ConflictElement()
Create conflict object for given object, conflict type, resolutions, default resolution & 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 & object specific message. |
|
ConflictElement(ConflictType conflictType,
ResolutionType[] allResolutions,
ResolutionType defaultResolution,
WTCollection targetObjCollection,
LocalizableMessage message)
Create conflict object for objectcollection, conflict type, resolutions, default resolution & object specific message. |
Method Summary | |
ResolutionType |
getDefaultResolution()
Gets the value of the attribute: defaultResolution. |
ResolutionType[] |
getResolverSet()
Gets the value of the attribute: resolverSet. |
private void |
initialize(ConflictType conflictType,
ResolutionType[] allResolutions,
ResolutionType defaultResolution,
LocalizableMessage message)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ConflictElement thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setDefaultResolution(ResolutionType a_DefaultResolution)
Sets the value of the attribute: defaultResolution. |
void |
setResolverSet(ResolutionType[] a_ResolverSet)
Sets the value of the attribute: resolverSet. |
String |
toString()
Creates String representation involving conflict code, possible resolutions, the objects involved and the time at which it is reported. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.conflict.MessageElement |
getCode, getConflictTime, getMessage, getObjectCollection, readVersion, setCode, setConflictTime, setMessage, setObjectCollection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ResolutionType[] resolverSet
private ResolutionType defaultResolution
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ConflictElement(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, LocalizableMessage message, Object targetObj)
conflictType
- allResolutions
- defaultResolution
- message
- targetObj
- public ConflictElement(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, WTCollection targetObjCollection, LocalizableMessage message)
conflictType
- allResolutions
- defaultResolution
- targetObjCollection
- message
- public ConflictElement()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class MessageElement
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class MessageElement
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ConflictElement thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public ResolutionType[] getResolverSet()
public void setResolverSet(ResolutionType[] a_ResolverSet) throws WTPropertyVetoException
a_ResolverSet
-
WTPropertyVetoException
public ResolutionType getDefaultResolution()
public void setDefaultResolution(ResolutionType a_DefaultResolution) throws WTPropertyVetoException
a_DefaultResolution
-
WTPropertyVetoException
public String toString()
toString
in class MessageElement
private void initialize(ConflictType conflictType, ResolutionType[] allResolutions, ResolutionType defaultResolution, LocalizableMessage message)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |