Class Maintenance

    • Constructor Detail

      • Maintenance

        public Maintenance()
    • Method Detail

      • isActive

        public boolean isActive()
      • getUUID

        public String getUUID()
        Description copied from interface: IUUIDEntity
        Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        getUUID in interface IUUIDEntity
        Returns:
        The UUID of the entity.
      • setUUID

        public void setUUID​(String uuid)
        Description copied from interface: IUUIDEntity
        Sets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        setUUID in interface IUUIDEntity
        Parameters:
        uuid - The UUID of the entity.
      • getUUIDObject

        public UUID getUUIDObject()
        Description copied from interface: IUUIDEntity
        Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        getUUIDObject in interface IUUIDEntity
        Returns:
        The UUID of the entity.
      • setUUIDObject

        public void setUUIDObject​(UUID uuid)
      • getId

        public Long getId()
        Specified by:
        getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      • isNew

        public boolean isNew()
        Identifies this entity as being new.
        Returns:
        true, if new
      • setActive

        public void setActive​(boolean active)
        Indicates, whether this maintenance item is active
      • setStart

        public void setStart​(LocalDateTime start)
        Begin of maintenance mode
      • setEnd

        public void setEnd​(LocalDateTime end)
        End of maintenance mode
      • setContext

        public void setContext​(EMaintenanceContext context)
        Context of this maintenance item (discriminator column for inheritance)