com.evolveum.midpoint.schema.processor
Class PropertyValue<T>

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Constructor Summary
PropertyValue(T value)
           
PropertyValue(T value, SourceType type, ObjectType source)
           
 
Method Summary
 PropertyValue<T> clone()
           
 java.lang.String debugDump()
          Show the content of the object intended for diagnostics by system administrator.
 java.lang.String debugDump(int indent)
           
 java.lang.String dump()
          Show the content of the object intended for diagnostics by developer.
 boolean equals(java.lang.Object o)
           
 boolean equalsRealValue(PropertyValue<T> pValueToCompare)
           
 ObjectType getSource()
           
 SourceType getType()
           
 T getValue()
           
 int hashCode()
           
 void setSource(ObjectType source)
           
 void setType(SourceType type)
           
 void setValue(T value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyValue

public PropertyValue(T value)

PropertyValue

public PropertyValue(T value,
                     SourceType type,
                     ObjectType source)
Method Detail

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.