@Entity(name="Agency") public class Agency extends Object implements Serializable, com.hack23.cia.model.common.api.ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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" minOccurs="0"/> <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>
Modifier and Type | Field and Description |
---|---|
protected String |
agencyName |
protected String |
description |
protected Long |
hjid |
protected Integer |
modelObjectId |
protected Integer |
modelObjectVersion |
protected List<Portal> |
portals |
Constructor and Description |
---|
Agency() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
String |
getAgencyName()
Gets the value of the agencyName property.
|
String |
getDescription()
Gets the value of the description property.
|
Long |
getHjid()
Gets the value of the hjid property.
|
Integer |
getModelObjectId()
Gets the value of the modelObjectId property.
|
Integer |
getModelObjectVersion()
Gets the value of the modelObjectVersion property.
|
List<Portal> |
getPortals()
Gets the value of the portals property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAgencyName(String value)
Sets the value of the agencyName property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setHjid(Long value)
Sets the value of the hjid property.
|
void |
setModelObjectId(Integer value)
Sets the value of the modelObjectId property.
|
void |
setModelObjectVersion(Integer value)
Sets the value of the modelObjectVersion property.
|
void |
setPortals(List<Portal> portals) |
String |
toString() |
Agency |
withAgencyName(String value) |
Agency |
withDescription(String value) |
Agency |
withModelObjectId(Integer value) |
Agency |
withModelObjectVersion(Integer value) |
Agency |
withPortals(Collection<Portal> values) |
Agency |
withPortals(List<Portal> portals) |
Agency |
withPortals(Portal... values) |
protected Integer modelObjectId
protected Integer modelObjectVersion
protected String agencyName
protected String description
protected Long hjid
public Integer getModelObjectId()
Integer
public void setModelObjectId(Integer value)
value
- allowed object is
Integer
public Integer getModelObjectVersion()
Integer
public void setModelObjectVersion(Integer value)
value
- allowed object is
Integer
public String getAgencyName()
String
public void setAgencyName(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<Portal> getPortals()
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
public Agency withPortals(Collection<Portal> values)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public void setHjid(Long value)
value
- allowed object is
Long
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
Copyright © 2010–2017 www.hack23.com. All rights reserved.