com.evolveum.midpoint.common.valueconstruction
Class ValueConstruction

java.lang.Object
  extended by com.evolveum.midpoint.common.valueconstruction.ValueConstruction
All Implemented Interfaces:
DebugDumpable, Dumpable

public class ValueConstruction
extends java.lang.Object
implements Dumpable, DebugDumpable

Author:
Radovan Semancik

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Method Summary
 void addVariableDefinition(javax.xml.namespace.QName name, org.w3c.dom.Element value)
           
 void addVariableDefinition(javax.xml.namespace.QName name, MidPointObject<? extends ObjectType> midpointObject)
           
 void addVariableDefinition(javax.xml.namespace.QName name, ObjectReferenceType objectRef)
           
 void addVariableDefinition(javax.xml.namespace.QName name, ObjectType objectType)
           
 void addVariableDefinition(javax.xml.namespace.QName name, java.lang.String value)
           
 void addVariableDefinition(VariableDefinitionType varDef)
           
 void addVariableDefinitions(java.util.Map<javax.xml.namespace.QName,java.lang.Object> extraVariables)
           
 ValueConstruction clone()
          Shallow 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 obj)
           
 void evaluate(OperationResult result)
           
 ObjectResolver getObjectResolver()
           
 Property getOutput()
           
static java.util.List<java.lang.Object> getStaticValueList(ValueConstructionType valueConstruction)
           
 int hashCode()
           
 boolean isAuthoritative()
           
 boolean isExclusive()
           
 boolean isInitial()
           
 void setInput(Property input)
           
 void setObjectResolver(ObjectResolver objectResolver)
           
 void setOutputDefinitionX(PropertyDefinition outputDefinition)
           
 void setOutputPropertyParentPath(PropertyPath outputPropertyParentPath)
           
 void setRootNode(MidPointObject<? extends ObjectType> mpObject)
           
 void setRootNode(ObjectReferenceType objectRef)
           
 void setRootNode(ObjectType objectType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getObjectResolver

public ObjectResolver getObjectResolver()

setObjectResolver

public void setObjectResolver(ObjectResolver objectResolver)

setInput

public void setInput(Property input)

setOutputDefinitionX

public void setOutputDefinitionX(PropertyDefinition outputDefinition)

setOutputPropertyParentPath

public void setOutputPropertyParentPath(PropertyPath outputPropertyParentPath)

setRootNode

public void setRootNode(ObjectReferenceType objectRef)

setRootNode

public void setRootNode(ObjectType objectType)

setRootNode

public void setRootNode(MidPointObject<? extends ObjectType> mpObject)

addVariableDefinition

public void addVariableDefinition(VariableDefinitionType varDef)

addVariableDefinition

public void addVariableDefinition(javax.xml.namespace.QName name,
                                  ObjectReferenceType objectRef)

addVariableDefinition

public void addVariableDefinition(javax.xml.namespace.QName name,
                                  ObjectType objectType)

addVariableDefinition

public void addVariableDefinition(javax.xml.namespace.QName name,
                                  MidPointObject<? extends ObjectType> midpointObject)

addVariableDefinition

public void addVariableDefinition(javax.xml.namespace.QName name,
                                  java.lang.String value)

addVariableDefinition

public void addVariableDefinition(javax.xml.namespace.QName name,
                                  org.w3c.dom.Element value)

addVariableDefinitions

public void addVariableDefinitions(java.util.Map<javax.xml.namespace.QName,java.lang.Object> extraVariables)

isInitial

public boolean isInitial()

isAuthoritative

public boolean isAuthoritative()

isExclusive

public boolean isExclusive()

evaluate

public void evaluate(OperationResult result)
              throws ExpressionEvaluationException,
                     ObjectNotFoundException,
                     SchemaException
Throws:
ExpressionEvaluationException
ObjectNotFoundException
SchemaException

getOutput

public Property getOutput()

getStaticValueList

public static java.util.List<java.lang.Object> getStaticValueList(ValueConstructionType valueConstruction)
                                                           throws SchemaException
Throws:
SchemaException

clone

public ValueConstruction clone()
Shallow clone. Only the output is cloned deeply.

Overrides:
clone in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
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.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.