Class Agency
- java.lang.Object
-
- com.hack23.cia.model.internal.application.system.impl.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 Summary
Fields Modifier and Type Field Description protected java.lang.String
agencyName
protected java.lang.String
description
protected java.lang.Long
hjid
protected java.lang.Integer
modelObjectId
protected int
modelObjectVersion
protected java.util.List<Portal>
portals
-
Constructor Summary
Constructors Constructor Description Agency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAgencyName()
Gets the value of the agencyName property.java.lang.String
getDescription()
Gets the value of the description property.java.lang.Long
getHjid()
Gets the value of the hjid property.java.lang.Integer
getModelObjectId()
Gets the value of the modelObjectId property.int
getModelObjectVersion()
Gets the value of the modelObjectVersion property.java.util.List<Portal>
getPortals()
Gets the value of the portals property.int
hashCode()
void
setAgencyName(java.lang.String value)
Sets the value of the agencyName property.void
setDescription(java.lang.String value)
Sets the value of the description property.void
setHjid(java.lang.Long value)
Sets the value of the hjid property.void
setModelObjectId(java.lang.Integer value)
Sets the value of the modelObjectId property.void
setModelObjectVersion(int value)
Sets the value of the modelObjectVersion property.void
setPortals(java.util.List<Portal> portals)
java.lang.String
toString()
Agency
withAgencyName(java.lang.String value)
Agency
withDescription(java.lang.String value)
Agency
withModelObjectId(java.lang.Integer value)
Agency
withModelObjectVersion(int value)
Agency
withPortals(java.util.List<Portal> portals)
-
-
-
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
-
-
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 isInteger
-
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 isString
-
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 isString
-
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)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.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 isLong
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-