|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalLocation
Local interface for LocationEJB.
LocationDetails
Method Summary | |
---|---|
LocalBase |
getBase()
Returns the base EJB object attached to this EJB object. |
String |
getCountry()
Returns the 2-letter country code identifier defined in ISO 3166. |
Date |
getCreationDate()
Returns the creation date of this EJB object. |
String |
getCreationUserId()
Returns the identifier of the user having created this EJB object. |
String |
getId()
Returns the object identifier. |
boolean |
getIsCountry()
Specifies if this object is also a country or not. |
LocalLocation |
getParentLocation()
Returns the parent location, if any. |
TimeZone |
getTimeZone()
Returns the time zone of this location. |
String |
getTimeZoneId()
Returns the time zone identifier of this location. |
Date |
getUpdateDate()
Returns the update date of this EJB object. |
String |
getUpdateUserId()
Returns the identifier of the user having performed the last update on this EJB object. |
void |
setBase(LocalBase dbBase)
Initializes the associated EJB object. |
void |
setCountry(String country)
Initializes the 2-letter country code identifier defined in ISO 3166. |
void |
setId(String id)
Initializes the object identifier. |
void |
setIsCountry(boolean isCountry)
Specifies if this object is also a country or not. |
void |
setParentLocation(LocalLocation location)
Initializes the parent location. |
void |
setTimeZoneId(String timeZoneId)
Initializes the time zone identifier of this location. |
void |
setUpdateDate(Date date)
Initializes the update date of this EJB object. |
void |
setUpdateUserId(String userId)
Initializes the identifier of the user having performed the last update on this EJB object. |
Methods inherited from interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
String getId()
DbIdEntity
getId
in interface DbIdEntity
null
.DbIdEntity.setId(String)
void setId(String id)
DbIdEntity
setId
in interface DbIdEntity
id
- an object identifier. Shall not be null
.DbIdEntity.getId()
String getCountry()
DbCountryEntity
getCountry
in interface DbCountryEntity
null
.DbCountryEntity.setCountry(String)
void setCountry(String country)
DbCountryEntity
setCountry
in interface DbCountryEntity
country
- the country code. May be null
.DbCountryEntity.getCountry()
boolean getIsCountry()
DbCountryEntity
getIsCountry
in interface DbCountryEntity
true
if this EJB object refers to a country, false
otherwise.DbCountryEntity.setIsCountry(boolean)
void setIsCountry(boolean isCountry)
DbCountryEntity
setIsCountry
in interface DbCountryEntity
isCountry
- true
if this EJB object refers to a country, false
otherwise.DbCountryEntity.getIsCountry()
String getTimeZoneId()
null
.
EJBException
- if any exception occured during the execution of this method.setTimeZoneId(String)
,
getTimeZone()
void setTimeZoneId(String timeZoneId)
timeZoneId
- a time zone identifier. May be null
.
EJBException
- if any exception occured during the execution of this method.getTimeZoneId()
TimeZone getTimeZone() throws NamingException, FinderException
null
.
EJBException
- if any exception occured during the execution of this method.
NamingException
- if a naming exception is encountered.
FinderException
- in case of failure to find any requested EJB object(s).getTimeZoneId()
LocalLocation getParentLocation()
null
.
EJBException
- if any exception occured during the execution of this method.setParentLocation(christophedelory.betty.interfaces.LocalLocation)
void setParentLocation(LocalLocation location)
location
- the parent location. May be null
.
EJBException
- if any exception occured during the execution of this method.getParentLocation()
Date getCreationDate()
DbEntity
getCreationDate
in interface DbEntity
null
.String getCreationUserId()
DbEntity
getCreationUserId
in interface DbEntity
null
.Date getUpdateDate()
DbEntity
getUpdateDate
in interface DbEntity
null
.DbEntity.setUpdateDate(java.util.Date)
,
DbEntity.getUpdateUserId()
void setUpdateDate(Date date)
DbEntity
setUpdateDate
in interface DbEntity
date
- a date. Shall not be null
.DbEntity.getUpdateDate()
,
DbEntity.setUpdateUserId(String)
String getUpdateUserId()
DbEntity
getUpdateUserId
in interface DbEntity
null
.DbEntity.setUpdateUserId(String)
,
DbEntity.getUpdateDate()
void setUpdateUserId(String userId)
DbEntity
setUpdateUserId
in interface DbEntity
userId
- a user identifier. Shall not be null
.DbEntity.getUpdateUserId()
,
DbEntity.setUpdateDate(java.util.Date)
LocalBase getBase()
DbEntity
getBase
in interface DbEntity
null
.DbEntity.setBase(christophedelory.interfaces.LocalBase)
void setBase(LocalBase dbBase)
DbEntity
setBase
in interface DbEntity
dbBase
- an EJB object. Shall not be null
.DbEntity.getBase()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |