Class ManagementContract

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Map<java.lang.String,​java.lang.Object>, org.bson.conversions.Bson

    public class ManagementContract
    extends VitamDocument<ManagementContract>
    Defines an Management contract model
    See Also:
    Serialized Form
    • Field Detail

      • IDENTIFIER

        public static final java.lang.String IDENTIFIER
        the contract id
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        the contract description
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        the contract status
        See Also:
        Constant Field Values
      • CREATIONDATE

        public static final java.lang.String CREATIONDATE
        the creatation date of contract
        See Also:
        Constant Field Values
      • LAST_UPDATE

        public static final java.lang.String LAST_UPDATE
        the last update of contract
        See Also:
        Constant Field Values
      • ACTIVATIONDATE

        public static final java.lang.String ACTIVATIONDATE
        the activation date of contract
        See Also:
        Constant Field Values
      • DEACTIVATIONDATE

        public static final java.lang.String DEACTIVATIONDATE
        the desactication date of contract
        See Also:
        Constant Field Values
      • OBJECTGROUP_STRATEGY

        public static final java.lang.String OBJECTGROUP_STRATEGY
        the Object Group Strategy
        See Also:
        Constant Field Values
      • UNIT_STRATEGY

        public static final java.lang.String UNIT_STRATEGY
        the Unit Strategy
        See Also:
        Constant Field Values
      • OBJECT_STRATEGY

        public static final java.lang.String OBJECT_STRATEGY
        the Object Strategy
        See Also:
        Constant Field Values
    • Constructor Detail

      • ManagementContract

        public ManagementContract()
        Empty Constructor
      • ManagementContract

        public ManagementContract​(org.bson.Document document)
        Constructor
        Parameters:
        document - data in format Document to create contact
      • ManagementContract

        public ManagementContract​(com.fasterxml.jackson.databind.JsonNode content)
        Parameters:
        content - in format JsonNode to create contract
      • ManagementContract

        public ManagementContract​(java.lang.String content)
        Parameters:
        content - in format String to create contract
      • ManagementContract

        public ManagementContract​(java.lang.Integer tenantId)
        Parameters:
        tenantId - the working tenant
    • Method Detail

      • setId

        public ManagementContract setId​(java.lang.String id)
        Parameters:
        id - the id of ingest contract
        Returns:
        AccessionRegisterDetail
      • getName

        public java.lang.String getName()
        Name of the contract
        Returns:
        name of contract
      • setName

        public ManagementContract setName​(java.lang.String name)
        Set or change the contract name
        Parameters:
        name - to set
        Returns:
        this
      • getDescription

        public java.lang.String getDescription()
        Get the contract description
        Returns:
        this
      • setDescription

        public ManagementContract setDescription​(java.lang.String description)
        Set or change the contract description
        Parameters:
        description - to set to contact
        Returns:
        this
      • getStatus

        public ActivationStatus getStatus()
        Get the contract status
        Returns:
        status of ingest contact
      • getCreationdate

        public java.lang.String getCreationdate()
        Returns:
        creation date of contract
      • setCreationdate

        public ManagementContract setCreationdate​(java.lang.String creationdate)
        Parameters:
        creationdate - to set
        Returns:
        this
      • getLastupdate

        public java.lang.String getLastupdate()
        Returns:
        last update of contract
      • setLastupdate

        public ManagementContract setLastupdate​(java.lang.String lastupdate)
        Parameters:
        lastupdate - to set
        Returns:
        this
      • getActivationdate

        public java.lang.String getActivationdate()
        Returns:
        activation date of contract
      • setActivationdate

        public ManagementContract setActivationdate​(java.lang.String activationdate)
        Parameters:
        activationdate - to set
        Returns:
        this
      • getDeactivationdate

        public java.lang.String getDeactivationdate()
        Returns:
        desactivation date of contract
      • setDeactivationdate

        public ManagementContract setDeactivationdate​(java.lang.String deactivationdate)
        Parameters:
        deactivationdate - to set
        Returns:
        this