Class AbstractMutableObjectable
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
- All Implemented Interfaces:
Containerable
,Freezable
,ContainerablePrismBinding
,JaxbVisitable
,Objectable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ObjectType
public abstract class AbstractMutableObjectable extends ObjectType implements ContainerablePrismBinding, Objectable, Cloneable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
ContainerablePrismBinding.ContainerableList<T extends Containerable>, ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableObjectable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PrismObject
asPrismContainer()
PrismContainerValue
asPrismContainerValue()
PrismObject
asPrismObject()
protected Object
clone()
boolean
equals(Object object)
String
getOid()
String
getVersion()
int
hashCode()
protected abstract QName
prismGetContainerName()
protected abstract QName
prismGetContainerType()
void
setOid(String value)
void
setupContainer(PrismObject object)
void
setupContainerValue(PrismContainerValue value)
Setup value to the containerable representation.void
setVersion(String version)
String
toDebugName()
Returns short string representing identity of this object.String
toDebugType()
Returns short string identification of object type.String
toString()
-
Methods inherited from class com.evolveum.prism.xml.ns._public.types_3.ObjectType
accept
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getDescription, getName, setDescription, setName
-
-
-
-
Method Detail
-
asPrismContainer
public PrismObject asPrismContainer()
-
getOid
public String getOid()
- Specified by:
getOid
in interfaceObjectable
-
setOid
public void setOid(String value)
- Specified by:
setOid
in interfaceObjectable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue value)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
asPrismObject
public PrismObject asPrismObject()
- Specified by:
asPrismObject
in interfaceObjectable
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
prismGetContainerName
protected abstract QName prismGetContainerName()
-
prismGetContainerType
protected abstract QName prismGetContainerType()
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceObjectable
-
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interfaceObjectable
-
setupContainer
public void setupContainer(PrismObject object)
- Specified by:
setupContainer
in interfaceObjectable
-
toDebugType
public String toDebugType()
Description copied from interface:Objectable
Returns short string identification of object type. It should be in a form suitable for log messages. There is no requirement for the type name to be unique, but it rather has to be compact. E.g. short element names are preferred to long QNames or URIs.- Specified by:
toDebugType
in interfaceObjectable
- Returns:
-
toDebugName
public String toDebugName()
Description copied from interface:Objectable
Returns short string representing identity of this object. It should container object type, OID and name. It should be presented in a form suitable for log and diagnostic messages (understandable for system administrator).- Specified by:
toDebugName
in interfaceObjectable
-
-