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 PrismObjectasPrismContainer()PrismContainerValueasPrismContainerValue()PrismObjectasPrismObject()protected Objectclone()booleanequals(Object object)StringgetOid()StringgetVersion()inthashCode()protected abstract QNameprismGetContainerName()protected abstract QNameprismGetContainerType()voidsetOid(String value)voidsetupContainer(PrismObject object)voidsetupContainerValue(PrismContainerValue value)Setup value to the containerable representation.voidsetVersion(String version)StringtoDebugName()Returns short string representing identity of this object.StringtoDebugType()Returns short string identification of object type.StringtoString()-
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:
getOidin interfaceObjectable
-
setOid
public void setOid(String value)
- Specified by:
setOidin interfaceObjectable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue value)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable
-
asPrismObject
public PrismObject asPrismObject()
- Specified by:
asPrismObjectin interfaceObjectable
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
prismGetContainerName
protected abstract QName prismGetContainerName()
-
prismGetContainerType
protected abstract QName prismGetContainerType()
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceObjectable
-
setVersion
public void setVersion(String version)
- Specified by:
setVersionin interfaceObjectable
-
setupContainer
public void setupContainer(PrismObject object)
- Specified by:
setupContainerin interfaceObjectable
-
toDebugType
public String toDebugType()
Description copied from interface:ObjectableReturns 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:
toDebugTypein interfaceObjectable- Returns:
-
toDebugName
public String toDebugName()
Description copied from interface:ObjectableReturns 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:
toDebugNamein interfaceObjectable
-
-