Class ArchiveUnitProfile

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

    public class ArchiveUnitProfile
    extends VitamDocument<ArchiveUnitProfile>
    Defines an archive unit Profile collection.
    See Also:
    Serialized Form
    • Field Detail

      • IDENTIFIER

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

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

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

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

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

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

        public static final java.lang.String CONTROLSCHEMA
        the controlSchema of the profile
        See Also:
        Constant Field Values
    • Constructor Detail

      • ArchiveUnitProfile

        public ArchiveUnitProfile()
        Empty Constructor
      • ArchiveUnitProfile

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

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

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

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

      • setId

        public ArchiveUnitProfile setId​(java.lang.String id)
        Parameters:
        id - the id of ingest profile
        Returns:
        AccessionRegisterDetail
      • getIdentifier

        public java.lang.String getIdentifier()
        The profile id
        Returns:
        the id of the profile
      • setIdentifier

        public ArchiveUnitProfile setIdentifier​(java.lang.String identifier)
        Set or change the profile id, the identifier must be unique by tenant
        Parameters:
        identifier -
        Returns:
        this
      • getName

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

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

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

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

        public ProfileStatus getStatus()
        Get the profile status If toJson called without MongoClient configuration this will thow codec exception
        Returns:
        status of ingest contact
      • getCreationdate

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

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

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

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

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

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

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

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

        public java.lang.String getControlSchema()
        Returns:
        the ControlSchema of the profile
      • setControlSchema

        public ArchiveUnitProfile setControlSchema​(java.lang.String ControlSchema)
        Parameters:
        ControlSchema - to set
        Returns:
        this