Class DataObjectInstanceVariableContainerImpl

    • Field Detail

      • id

        protected java.lang.Object id
      • data

        protected final java.util.Map<java.lang.String,​java.lang.Object> data
      • lookupIdValue

        protected java.lang.Object lookupIdValue
      • definitionId

        protected final java.lang.String definitionId
      • tenantId

        protected final java.lang.String tenantId
      • definitionKey

        protected final java.lang.String definitionKey
      • definedFields

        protected final java.util.Set<java.lang.String> definedFields
      • isInserted

        protected boolean isInserted
      • isUpdated

        protected boolean isUpdated
      • isDeleted

        protected boolean isDeleted
      • originalPersistentState

        protected java.lang.Object originalPersistentState
    • Constructor Detail

      • DataObjectInstanceVariableContainerImpl

        public DataObjectInstanceVariableContainerImpl​(java.util.Map<java.lang.String,​java.lang.Object> data,
                                                       java.lang.Object lookupIdValue,
                                                       java.lang.String tenantId,
                                                       DataObjectDefinition dataObjectDefinition,
                                                       ServiceRegistryDataObjectModel objectModel)
      • DataObjectInstanceVariableContainerImpl

        public DataObjectInstanceVariableContainerImpl​(java.util.Map<java.lang.String,​java.lang.Object> data,
                                                       java.lang.Object lookupIdValue,
                                                       java.lang.String definitionId,
                                                       java.lang.String tenantId,
                                                       java.lang.String definitionKey,
                                                       ServiceRegistryDataObjectModel objectModel)
    • Method Detail

      • isInserted

        public boolean isInserted()
      • setInserted

        public void setInserted​(boolean isInserted)
      • isUpdated

        public boolean isUpdated()
      • setUpdated

        public void setUpdated​(boolean isUpdated)
      • isDeleted

        public boolean isDeleted()
      • setDeleted

        public void setDeleted​(boolean isDeleted)
      • getOriginalPersistentState

        public java.lang.Object getOriginalPersistentState()
      • setOriginalPersistentState

        public void setOriginalPersistentState​(java.lang.Object persistentState)
      • getLookupId

        public java.lang.Object getLookupId()
        Description copied from interface: DataObjectInstanceVariableContainer
        Returns the lookup id of this data object instance, which needs to be unique only within the same data object definition and source.
        Specified by:
        getLookupId in interface DataObjectInstanceVariableContainer
        Returns:
        the lookup id of this data object, as given and used by the data source managing this data object instance
      • getValue

        public <T> T getValue​(java.lang.String property,
                              java.lang.Class<T> valueType)
        Description copied from interface: DataObjectInstanceVariableContainer
        Get a value for the given property with the give valueType
        Specified by:
        getValue in interface DataObjectInstanceVariableContainer
        Type Parameters:
        T - the type of the value
        Parameters:
        property - the name of the property
        valueType - the type of the value
        Returns:
        the value for the given property
      • hasValue

        public boolean hasValue​(java.lang.String property)
        Description copied from interface: DataObjectInstanceVariableContainer
        Check whether the data object instance has the given property
        Specified by:
        hasValue in interface DataObjectInstanceVariableContainer
        Parameters:
        property - the name of the property
        Returns:
        true if this data object instance has a property with given name, false otherwise
      • setTransientVariable

        public void setTransientVariable​(java.lang.String variableName,
                                         java.lang.Object variableValue)
        Specified by:
        setTransientVariable in interface org.flowable.common.engine.api.variable.VariableContainer
      • getPersistentState

        public java.lang.Object getPersistentState()
      • toString

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