com.evolveum.midpoint.schema.processor
Class PropertyValue<T>
java.lang.Object
com.evolveum.midpoint.schema.processor.PropertyValue<T>
- All Implemented Interfaces:
- DebugDumpable, Dumpable, java.io.Serializable
public class PropertyValue<T>
- extends java.lang.Object
- implements Dumpable, DebugDumpable, java.io.Serializable
- Author:
- lazyman
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PropertyValue
public PropertyValue(T value)
PropertyValue
public PropertyValue(T value,
SourceType type,
ObjectType source)
setSource
public void setSource(ObjectType source)
setType
public void setType(SourceType type)
setValue
public void setValue(T value)
getValue
public T getValue()
getType
public SourceType getType()
getSource
public ObjectType getSource()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equalsRealValue
public boolean equalsRealValue(PropertyValue<T> pValueToCompare)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
debugDump
public java.lang.String debugDump()
- Description copied from interface:
DebugDumpable
- Show the content of the object intended for diagnostics by system administrator. The out
put should be suitable to use in system logs at "debug" level. It may be multi-line, but in
that case it should be well indented and quite terse.
As it is intended to be used by system administrator, it should not use any developer terms
such as class names, exceptions or stack traces.
- Specified by:
debugDump
in interface DebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
debugDump
public java.lang.String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
dump
public java.lang.String dump()
- Description copied from interface:
Dumpable
- Show the content of the object intended for diagnostics by developer.
The content may be multi-line, in case of hierarchical objects it may be intended.
The use of this method may not be efficient. It is not supposed to be used in normal operation.
However, it is very useful in tests or in case of dumping objects in severe error situations.
- Specified by:
dump
in interface Dumpable
- Returns:
- content of the object intended for diagnostics.
clone
public PropertyValue<T> clone()
- Overrides:
clone
in class java.lang.Object
Copyright © 2012 evolveum. All Rights Reserved.