com.hack23.cia.model.common.impl
Class CountryImpl

Package class diagram package CountryImpl
java.lang.Object
  extended by com.hack23.cia.model.common.impl.AbstractModelObjectImpl
      extended by com.hack23.cia.model.common.impl.AbstractEnvironmentObjectImpl
          extended by com.hack23.cia.model.common.impl.CountryImpl
All Implemented Interfaces:
Country, Environment, ModelObject, java.io.Serializable

@Entity
public class CountryImpl
extends AbstractEnvironmentObjectImpl
implements Country

The Class CountryImpl.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
CountryImpl()
           
 
Method Summary
Modifier and Type Method and Description
 java.lang.String getCapitalCity()
          Gets the capital city.
 java.lang.Long getId()
          Gets the id.
 java.lang.String getIso2Code()
          Gets the iso2 code.
 java.lang.String getLatitude()
          Gets the latitude.
 java.lang.String getLongitude()
          Gets the longitude.
 Region getRegion()
          Gets the region.
 RegionImpl getRegionImpl()
          Gets the region impl.
 java.lang.Long getVersion()
          Gets the version.
 void setCapitalCity(java.lang.String capitalCity)
          Sets the capital city.
 void setId(java.lang.Long id)
          Sets the id.
 void setIso2Code(java.lang.String iso2Code)
          Sets the iso2 code.
 void setLatitude(java.lang.String latitude)
          Sets the latitude.
 void setLongitude(java.lang.String longitude)
          Sets the longitude.
 void setRegionImpl(RegionImpl regionImpl)
          Sets the region impl.
 void setVersion(java.lang.Long version)
          Sets the version.
 
Methods inherited from class com.hack23.cia.model.common.impl.AbstractEnvironmentObjectImpl
getName, setName
 
Methods inherited from class com.hack23.cia.model.common.impl.AbstractModelObjectImpl
equals, hashCode, isNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.model.common.api.Environment
getName
 

Constructor Detail

CountryImpl

public CountryImpl()
Method Detail

getVersion

public java.lang.Long getVersion()
Description copied from interface: ModelObject
Gets the version.

Specified by:
getVersion in interface ModelObject
Specified by:
getVersion in class AbstractModelObjectImpl
Returns:
the version

setVersion

public void setVersion(java.lang.Long version)
Sets the version.

Parameters:
version - the new version

getId

public java.lang.Long getId()
Description copied from interface: ModelObject
Gets the id.

Specified by:
getId in interface ModelObject
Specified by:
getId in class AbstractModelObjectImpl
Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the id.

Parameters:
id - the new id

getIso2Code

public java.lang.String getIso2Code()
Gets the iso2 code.

Returns:
the iso2 code

setIso2Code

public void setIso2Code(java.lang.String iso2Code)
Sets the iso2 code.

Parameters:
iso2Code - the new iso2 code

getCapitalCity

public java.lang.String getCapitalCity()
Gets the capital city.

Returns:
the capital city

setCapitalCity

public void setCapitalCity(java.lang.String capitalCity)
Sets the capital city.

Parameters:
capitalCity - the new capital city

getLongitude

public java.lang.String getLongitude()
Gets the longitude.

Returns:
the longitude

setLongitude

public void setLongitude(java.lang.String longitude)
Sets the longitude.

Parameters:
longitude - the new longitude

getLatitude

public java.lang.String getLatitude()
Gets the latitude.

Returns:
the latitude

setLatitude

public void setLatitude(java.lang.String latitude)
Sets the latitude.

Parameters:
latitude - the new latitude

getRegionImpl

public RegionImpl getRegionImpl()
Gets the region impl.

Returns:
the region impl

getRegion

public Region getRegion()
Description copied from interface: Country
Gets the region.

Specified by:
getRegion in interface Country
Returns:
the region

setRegionImpl

public void setRegionImpl(RegionImpl regionImpl)
Sets the region impl.

Parameters:
regionImpl - the new region impl


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