com.hack23.cia.model.internal.application.system.impl
Class Agency

Package class diagram package Agency
java.lang.Object
  extended by com.hack23.cia.model.internal.application.system.impl.Agency
All Implemented Interfaces:
ModelObject, Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

@Entity(name="Agency")
public class Agency
extends Object
implements Serializable, ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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="name" 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
protected  String description
           
protected  Long hjid
           
protected  Integer modelObjectId
           
protected  Integer modelObjectVersion
           
protected  String name
           
protected  List<Portal> portals
           
 
Constructor Summary
Agency()
           
 
Method Summary
 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 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.
 String getName()
          Gets the value of the name 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 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 setName(String value)
          Sets the value of the name property.
 void setPortals(List<Portal> portals)
           
 Agency withDescription(String value)
           
 Agency withModelObjectId(Integer value)
           
 Agency withModelObjectVersion(Integer value)
           
 Agency withName(String value)
           
 Agency withPortals(Collection<Portal> values)
           
 Agency withPortals(List<Portal> portals)
           
 Agency withPortals(Portal... values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelObjectId

protected Integer modelObjectId

modelObjectVersion

protected Integer modelObjectVersion

name

protected String name

description

protected String description

portals

protected List<Portal> portals

hjid

protected Long hjid
Constructor Detail

Agency

public Agency()
Method Detail

getModelObjectId

public Integer getModelObjectId()
Gets the value of the modelObjectId property.

Returns:
possible object is Integer

setModelObjectId

public void setModelObjectId(Integer value)
Sets the value of the modelObjectId property.

Parameters:
value - allowed object is Integer

getModelObjectVersion

public Integer getModelObjectVersion()
Gets the value of the modelObjectVersion property.

Returns:
possible object is Integer

setModelObjectVersion

public void setModelObjectVersion(Integer value)
Sets the value of the modelObjectVersion property.

Parameters:
value - allowed object is Integer

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getPortals

public 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(List<Portal> portals)

withModelObjectId

public Agency withModelObjectId(Integer value)

withModelObjectVersion

public Agency withModelObjectVersion(Integer value)

withName

public Agency withName(String value)

withDescription

public Agency withDescription(String value)

withPortals

public Agency withPortals(Portal... values)

withPortals

public Agency withPortals(Collection<Portal> values)

withPortals

public Agency withPortals(List<Portal> portals)

getHjid

public Long getHjid()
Gets the value of the hjid property.

Returns:
possible object is Long

setHjid

public void setHjid(Long value)
Sets the value of the hjid property.

Parameters:
value - allowed object is Long

equals

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)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.