Class OperationResultLogItemContract


  • public final class OperationResultLogItemContract
    extends Object
    Log of the entity being created, updated or deleted.
    • Constructor Detail

      • OperationResultLogItemContract

        public OperationResultLogItemContract()
    • Method Detail

      • objectType

        public String objectType()
        Get the objectType property: The type of entity contract.
        Returns:
        the objectType value.
      • withObjectType

        public OperationResultLogItemContract withObjectType​(String objectType)
        Set the objectType property: The type of entity contract.
        Parameters:
        objectType - the objectType value to set.
        Returns:
        the OperationResultLogItemContract object itself.
      • action

        public String action()
        Get the action property: Action like create/update/delete.
        Returns:
        the action value.
      • withAction

        public OperationResultLogItemContract withAction​(String action)
        Set the action property: Action like create/update/delete.
        Parameters:
        action - the action value to set.
        Returns:
        the OperationResultLogItemContract object itself.
      • objectKey

        public String objectKey()
        Get the objectKey property: Identifier of the entity being created/updated/deleted.
        Returns:
        the objectKey value.
      • withObjectKey

        public OperationResultLogItemContract withObjectKey​(String objectKey)
        Set the objectKey property: Identifier of the entity being created/updated/deleted.
        Parameters:
        objectKey - the objectKey value to set.
        Returns:
        the OperationResultLogItemContract object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.