Class Agency

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="Agency")
    public class Agency
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject

    Java class for Agency complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Agency">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="modelObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="modelObjectVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="agencyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="portals" type="{http://system.application.internal.model.cia.hack23.com/impl}Portal" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • modelObjectId

        protected java.lang.Integer modelObjectId
      • modelObjectVersion

        protected int modelObjectVersion
      • agencyName

        protected java.lang.String agencyName
      • description

        protected java.lang.String description
      • portals

        protected java.util.List<Portal> portals
      • hjid

        protected java.lang.Long hjid
    • Constructor Detail

      • Agency

        public Agency()
    • Method Detail

      • getModelObjectId

        public java.lang.Integer getModelObjectId()
        Gets the value of the modelObjectId property.
        Returns:
        possible object is Integer
      • setModelObjectId

        public void setModelObjectId​(java.lang.Integer value)
        Sets the value of the modelObjectId property.
        Parameters:
        value - allowed object is Integer
      • getModelObjectVersion

        public int getModelObjectVersion()
        Gets the value of the modelObjectVersion property.
      • setModelObjectVersion

        public void setModelObjectVersion​(int value)
        Sets the value of the modelObjectVersion property.
      • getAgencyName

        public java.lang.String getAgencyName()
        Gets the value of the agencyName property.
        Returns:
        possible object is String
      • setAgencyName

        public void setAgencyName​(java.lang.String value)
        Sets the value of the agencyName property.
        Parameters:
        value - allowed object is String
      • getDescription

        public java.lang.String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(java.lang.String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getPortals

        public java.util.List<Portal> getPortals()
        Gets the value of the portals property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the portals property.

        For example, to add a new item, do as follows:

            getPortals().add(newItem);
         

        Objects of the following type(s) are allowed in the list Portal

      • setPortals

        public void setPortals​(java.util.List<Portal> portals)
      • withModelObjectId

        public Agency withModelObjectId​(java.lang.Integer value)
      • withModelObjectVersion

        public Agency withModelObjectVersion​(int value)
      • withAgencyName

        public Agency withAgencyName​(java.lang.String value)
      • withDescription

        public Agency withDescription​(java.lang.String value)
      • withPortals

        public Agency withPortals​(java.util.List<Portal> portals)
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getHjid

        public java.lang.Long getHjid()
        Gets the value of the hjid property.
        Returns:
        possible object is Long
      • setHjid

        public void setHjid​(java.lang.Long value)
        Sets the value of the hjid property.
        Parameters:
        value - allowed object is Long
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object