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:
  • Constructor Details

    • AbstractMutableObjectable

      public AbstractMutableObjectable()
  • Method Details

    • asPrismContainer

      public PrismObject asPrismContainer()
    • getOid

      public String getOid()
      Specified by:
      getOid in interface Objectable
    • setOid

      public void setOid(String value)
      Specified by:
      setOid in interface Objectable
    • 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 interface Containerable
    • asPrismObject

      public PrismObject asPrismObject()
      Specified by:
      asPrismObject in interface Objectable
    • asPrismContainerValue

      public PrismContainerValue asPrismContainerValue()
      Specified by:
      asPrismContainerValue in interface Containerable
    • prismGetContainerName

      protected abstract QName prismGetContainerName()
    • prismGetContainerType

      protected abstract QName prismGetContainerType()
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface Objectable
    • setVersion

      public void setVersion(String version)
      Specified by:
      setVersion in interface Objectable
    • setupContainer

      public void setupContainer(PrismObject object)
      Specified by:
      setupContainer in interface Objectable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 interface Objectable
      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 interface Objectable
    • clone

      protected Object clone()
      Overrides:
      clone in class Object