Class Agencies

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

    public class Agencies
    extends VitamDocument<Agencies>
    Defines a Agency collection.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      Agencies()
      /** Empty Constructor
      Agencies​(com.fasterxml.jackson.databind.JsonNode content)  
      Agencies​(java.lang.Integer tenantId)  
      Agencies​(java.lang.String content)  
      Agencies​(org.bson.Document document)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Get the Agency description
      java.lang.String getIdentifier()
      Get the Agency Identifier
      java.lang.String getName()
      Get the Agency name
      VitamDocument<Agencies> newInstance​(com.fasterxml.jackson.databind.JsonNode content)
      Make a new instance of the document with the given json
      Agencies setDescription​(java.lang.String description)
      Set or change the Agency description
      Agencies setIdentifier​(java.lang.String identifier)
      Set or change the Agency identifier
      Agencies setName​(java.lang.String name)
      Set or change the Agency name
      AgenciesModel wrap()  
      • Methods inherited from class org.bson.Document

        append, clear, containsKey, containsValue, entrySet, equals, get, get, get, getBoolean, getBoolean, getDate, getDouble, getEmbedded, getEmbedded, getInteger, getInteger, getList, getList, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, values
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.bson.conversions.Bson

        toBsonDocument
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • Agencies

        public Agencies()
        /** Empty Constructor
      • Agencies

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

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

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

        public Agencies​(java.lang.String content)
        Parameters:
        content - in format String to create agency
    • Method Detail

      • newInstance

        public VitamDocument<Agencies> newInstance​(com.fasterxml.jackson.databind.JsonNode content)
        Description copied from class: VitamDocument
        Make a new instance of the document with the given json
        Specified by:
        newInstance in class VitamDocument<Agencies>
        Parameters:
        content - document structure as json
        Returns:
        new document with the json as content
      • getDescription

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

        public Agencies setDescription​(java.lang.String description)
        Set or change the Agency description
        Parameters:
        description - to set to Agency
        Returns:
        this
      • getIdentifier

        public java.lang.String getIdentifier()
        Get the Agency Identifier
        Returns:
        this
      • setIdentifier

        public Agencies setIdentifier​(java.lang.String identifier)
        Set or change the Agency identifier
        Parameters:
        identifier - to set to Agency
        Returns:
        this
      • getName

        public java.lang.String getName()
        Get the Agency name
        Returns:
        this
      • setName

        public Agencies setName​(java.lang.String name)
        Set or change the Agency name
        Parameters:
        name - to set to Agency
        Returns:
        this