is.idega.idegaweb.golf.entity
Class AccountBMPBean

java.lang.Object
  extended by com.idega.data.GenericEntity
      extended by is.idega.idegaweb.golf.entity.AccountBMPBean
All Implemented Interfaces:
com.idega.data.EntityRepresentation, com.idega.data.IDOEntity, com.idega.data.IDOEntityBean, com.idega.data.IDOLegacyEntity, com.idega.data.MetaDataCapable, Account, GolfEntity, java.io.Serializable, java.lang.Comparable<com.idega.data.IDOEntity>, javax.ejb.EJBLocalObject, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public class AccountBMPBean
extends com.idega.data.GenericEntity
implements Account

Title: Description: Copyright: Copyright (c) 2001 Company: idega multimedia

Version:
1.0
Author:
aron@idega.is
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.idega.data.GenericEntity
com.idega.data.GenericEntity.ResultHelper
 
Field Summary
 
Fields inherited from class com.idega.data.GenericEntity
_lobColumnName, COLUMN_VALUE_FALSE, COLUMN_VALUE_TRUE, MANY_TO_MANY, MANY_TO_ONE, ONE_TO_MANY, ONE_TO_ONE, UNIQUE_ID_COLUMN_NAME
 
Fields inherited from interface com.idega.data.IDOLegacyEntity
STATE_DELETED, STATE_IN_SYNCH_WITH_DATASTORE, STATE_NEW, STATE_NEW_AND_NOT_IN_SYNCH_WITH_DATASTORE, STATE_NOT_IN_SYNCH_WITH_DATASTORE
 
Constructor Summary
AccountBMPBean()
           
 
Method Summary
 void addDebet(int amount)
           
 void addDebet(java.lang.Integer amount)
           
 void addKredit(int amount)
           
 void addKredit(java.lang.Integer amount)
           
 void addToBalance(int amount)
           
 void addToBalance(java.lang.Integer amount)
           
 int getAccountYear()
           
 int getBalance()
           
 int getCashierId()
           
 java.sql.Timestamp getCreationDate()
           
 java.lang.String getEntityName()
           
 java.lang.String getExtraInfo()
           
 java.sql.Timestamp getLastUpdated()
           
 int getMemberId()
           
 java.lang.String getName()
           
 int getRealBalance()
           
 int getUnionId()
           
 boolean getValid()
           
 void initializeAttributes()
           
 void setAccountYear(int year)
           
 void setBalance(int balance)
           
 void setBalance(java.lang.Integer balance)
           
 void setCashierId(int member_id)
           
 void setCashierId(java.lang.Integer member_id)
           
 void setCreationDate(java.sql.Timestamp creation_date)
           
 void setExtraInfo(java.lang.String extra_info)
           
 void setLastUpdated(java.sql.Timestamp last_updated)
           
 void setMemberId(int member_id)
           
 void setMemberId(java.lang.Integer member_id)
           
 void setName(java.lang.String name)
           
 void setUnionId(int union_id)
           
 void setUnionId(java.lang.Integer union_id)
           
 void setValid(boolean valid)
           
 
Methods inherited from class com.idega.data.GenericEntity
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addColumnName, addColumnName, addColumnName, addIndex, addIndex, addIndex, addLanguageAttribute, addManyToManyRelationShip, addManyToManyRelationShip, addManyToManyRelationShip, addManyToManyRelationShip, addManyToManyRelationShip, addManyToOneRelationship, addManyToOneRelationship, addMetaData, addMetaData, addMetaDataRelationship, addOneToOneRelationship, addOneToOneRelationship, addRelationship, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addToTree, addTreeRelationShip, addUniqueIDColumn, afterInitializeAttributes, beforeInitializeAttributes, clear, clearMetaDataVectors, columnsHaveChanged, compareTo, constructArray, debug, decode, decode, delete, delete, deleteMetaData, deleteMultiple, deleteMultiple, doInsertInCreate, ejbActivate, ejbCreate, ejbCreateIDO, ejbFindByPrimaryKey, ejbFindByPrimaryKeyCollection, ejbFindByPrimaryKeyIDO, ejbHomeCreateIDO, ejbLoad, ejbPassivate, ejbPostCreate, ejbPostCreateIDO, ejbRemove, ejbStore, empty, equals, equals, executeUpdate, fillColumn, findAll, findAll, findAll, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumnDescendingOrdered, findAllByColumnDescendingOrdered, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllDescendingOrdered, findAllOrdered, findAssociated, findAssociatedOrdered, findByPrimaryKey, findRelated, findRelated, findRelated, findRelatedIDs, findRelatedIDs, findRelatedIDs, findReverseRelated, freeConnection, freeConnection, generateAndSetUniqueIDForIDO, getAttribute, getAttributes, getAverage, getBeanCache, getBlobColumnValue, getBooleanColumnValue, getBooleanColumnValue, getCachedEntities, getChanges, getCharColumnValue, getCharColumnValue, getColumn, getColumnNames, getColumnOutputStream, getColumnValue, getConnection, getConnection, getDatasource, getDateColumnValue, getDateTableValue, getDebugLogLevel, getDefaultLogLevel, getDoubleColumnValue, getDoubleColumnValue, getDoubleTableValue, getEditableColumnNames, getEJBLocalHome, getEJBLocalHome, getEmptyBlob, getEntityDefinition, getEntityInstance, getEntityInstance, getEntityState, getErrorLogLevel, getFieldValue, getFindReverseRelatedSQLQuery, getFloatColumnValue, getFloatColumnValue, getGenericEntityDefinition, getHandle, getID, getIDColumnName, getIDInteger, getIDOContainer, getIDOHome, getIDOUtil, getIfAutoIncrement, getIfEditable, getIfInsertStartData, getIfNullable, getIfUnique, getIfVisible, getInputStreamColumnValue, getIntColumnValue, getIntColumnValue, getIntegerColumnValue, getInterfaceClass, getIntTableValue, getIntTableValue, getIWMainApplication, getKeyValueSQLString, getLanguageIDColumnName, getLoadedEntityBeans, getLobColumnName, getLogger, getLongName, getMaxColumnValue, getMaxColumnValue, getMaxLength, getMetaData, getMetaDataAttributes, getMetaDataDelete, getMetaDataIds, getMetaDataInsert, getMetaDataTypes, getMetaDataUpdate, getNameOfMiddleTable, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecordsForStringColumn, getNumberOfRecordsRelated, getNumberOfRecordsReverseRelated, getPK, getPrimaryKey, getPrimaryKeyClass, getPrimaryKeyValue, getPrimaryKeyValueSQLString, getRealValue, getRealValue, getRelationShipClass, getRelationShipType, getSimpleExplicitlySynchronizedEntityEntity, getStaticInstance, getStaticInstance, getStaticInstanceIDO, getStaticInstanceIDO, getStorageClass, getStorageClassName, getStorageClassType, getStringColumnValue, getTableName, getTimeColumnValue, getTimestampColumnValue, getUniqueId, getUniqueIdColumnName, getValue, getVisibleColumnNames, hasAutoIncrement, hasBeenSetNull, hashCode, hasLobColumn, hasMetaDataRelationship, hasUniqueIDColumn, idoAddTo, idoAddTo, idoAddTo, idoAddTo, idoAddTo, idoExecuteGlobalUpdate, idoExecuteTableUpdate, idoFindAllIDsByColumnBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnsBySQL, idoFindAllIDsByColumnsBySQL, idoFindAllIDsByColumnsBySQL, idoFindAllIDsBySQL, idoFindAllIDsOrderedBySQL, idoFindByPrimaryKeyCollection, idoFindIDsBySQL, idoFindIDsBySQL, idoFindOnePKByColumnBySQL, idoFindOnePKByQuery, idoFindOnePKByQuery, idoFindOnePKBySQL, idoFindOnePKByUniqueId, idoFindPKsByMetaData, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQueryIgnoringCacheAndUsingLoadBalance, idoFindPKsByQueryIgnoringCacheAndUsingLoadBalance, idoFindPKsByQueryUsingLoadBalance, idoFindPKsBySQL, idoFindPKsBySQL, idoFindPKsBySQL, idoFindPKsBySQL, idoFindPKsBySQLIgnoringCache, idoFindPKsBySQLIgnoringCache, idoGetAverage, idoGetNumberOfRecords, idoGetNumberOfRecords, idoGetNumberOfRecords, idoGetNumberOfRecords, idoGetRelatedEntities, idoGetRelatedEntities, idoGetRelatedEntities, idoGetRelatedEntities, idoGetRelatedEntitiesBySQL, idoGetRelatedEntitiesOrderedByColumn, idoGetRelatedEntityPKs, idoGetRelatedEntityPKs, idoGetRelatedEntityPKs, idoGetReverseRelatedEntities, idoGetValueFromSingleValueResultSet, idoGetValueFromSingleValueResultSet, idoQuery, idoQuery, idoQueryGetSelect, idoQueryGetSelectCount, idoQueryTable, idoRemoveFrom, idoRemoveFrom, idoRemoveFrom, idoRemoveFrom, idoRemoveRelationsTo, idoRemoveRelationTo, idoSelectPKQuery, idoSelectQuery, initializeColumnValue, insert, insert, insertForCreate, insertMetaData, insertStartData, isColumnValueNotEmpty, isDebugActive, isIdColumnValueNotEmpty, isIdentical, isIdentical, isInSynchWithDatastore, isNull, isPrimaryKey, isPrimaryKeyColumn, isStoredValueNull, log, log, log, logConfig, logDebug, logError, logSevere, logSQL, logWarning, metaDataHasChanged, metaDataHasChanged, moveChildrenToCurrent, preEjbLoad, remove, removeAllMetaData, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFromColumn, removeMetaData, renameMetaData, renameMetaData, reverseRemoveFrom, setAsPrimaryKey, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumnAsNull, setDatasource, setDatasource, setDefaultValues, setEditable, setEJBLocalHome, setEntityContext, setEntityState, setGenericEntityDefinition, setID, setID, setLongName, setMaxLength, setMetaData, setMetaData, setMetaDataAttributes, setNullable, setPrimaryKey, setPrimaryKey, setRelationShipClassName, setRelationShipType, setStorageClass, setStorageClassName, setStorageClassType, setStringColumn, setToInsertStartData, setUnique, setUniqueId, setValue, setValue, setVisible, store, toString, unsetEntityContext, update, update, updateMetaData
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.idega.data.IDOLegacyEntity
addMetaData, addMetaData, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addTreeRelationShip, clear, columnsHaveChanged, constructArray, delete, delete, deleteMetaData, deleteMultiple, deleteMultiple, empty, fillColumn, findAll, findAll, findAll, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumnDescendingOrdered, findAllByColumnDescendingOrdered, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllDescendingOrdered, findAllOrdered, findAssociated, findAssociatedOrdered, findByPrimaryKey, findRelated, findRelated, findRelatedIDs, findRelatedIDs, findReverseRelated, freeConnection, freeConnection, getBlobColumnValue, getBooleanColumnValue, getCharColumnValue, getColumn, getColumnNames, getColumnOutputStream, getColumnValue, getConnection, getConnection, getDatasource, getDoubleColumnValue, getEditableColumnNames, getEmptyBlob, getEntityState, getFloatColumnValue, getID, getIDColumnName, getIDInteger, getIfEditable, getIfInsertStartData, getIfNullable, getIfUnique, getIfVisible, getInputStreamColumnValue, getIntColumnValue, getIntegerColumnValue, getIntTableValue, getLobColumnName, getLongName, getMaxColumnValue, getMaxColumnValue, getMaxLength, getMetaDataDelete, getMetaDataIds, getMetaDataInsert, getMetaDataUpdate, getNameOfMiddleTable, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecordsRelated, getNumberOfRecordsReverseRelated, getPrimaryKeyValue, getRelationShipClass, getRelationShipType, getStorageClassName, getStorageClassType, getStringColumnValue, getTableName, getVisibleColumnNames, hasBeenSetNull, hasLobColumn, hasMetaDataRelationship, insert, insert, insertMetaData, isInSynchWithDatastore, isNull, isPrimaryKey, metaDataHasChanged, metaDataHasChanged, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFromColumn, removeMetaData, reverseRemoveFrom, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setDatasource, setDefaultValues, setEntityState, setID, setID, setLongName, setMaxLength, setNullable, setRelationShipClassName, setRelationShipType, setStorageClassName, setStorageClassType, setStringColumn, setToInsertStartData, setUnique, setVisible, toString, update, update, updateMetaData
 
Methods inherited from interface com.idega.data.IDOEntity
decode, decode, getEntityDefinition, store
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.idega.data.MetaDataCapable
getMetaData, getMetaDataAttributes, getMetaDataTypes, renameMetaData, renameMetaData, setMetaData, setMetaData, setMetaDataAttributes
 

Constructor Detail

AccountBMPBean

public AccountBMPBean()
Method Detail

initializeAttributes

public void initializeAttributes()
Specified by:
initializeAttributes in class com.idega.data.GenericEntity

getEntityName

public java.lang.String getEntityName()
Specified by:
getEntityName in interface com.idega.data.IDOLegacyEntity
Specified by:
getEntityName in class com.idega.data.GenericEntity

getMemberId

public int getMemberId()
Specified by:
getMemberId in interface Account

setMemberId

public void setMemberId(java.lang.Integer member_id)
Specified by:
setMemberId in interface Account

setMemberId

public void setMemberId(int member_id)
Specified by:
setMemberId in interface Account

getName

public java.lang.String getName()
Specified by:
getName in interface com.idega.data.IDOLegacyEntity
Specified by:
getName in interface Account
Overrides:
getName in class com.idega.data.GenericEntity

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.idega.data.IDOLegacyEntity
Specified by:
setName in interface Account
Overrides:
setName in class com.idega.data.GenericEntity

getUnionId

public int getUnionId()
Specified by:
getUnionId in interface Account

setUnionId

public void setUnionId(java.lang.Integer union_id)
Specified by:
setUnionId in interface Account

setUnionId

public void setUnionId(int union_id)
Specified by:
setUnionId in interface Account

getLastUpdated

public java.sql.Timestamp getLastUpdated()
Specified by:
getLastUpdated in interface Account

setLastUpdated

public void setLastUpdated(java.sql.Timestamp last_updated)
Specified by:
setLastUpdated in interface Account

getCashierId

public int getCashierId()
Specified by:
getCashierId in interface Account

setCashierId

public void setCashierId(java.lang.Integer member_id)
Specified by:
setCashierId in interface Account

setCashierId

public void setCashierId(int member_id)
Specified by:
setCashierId in interface Account

getRealBalance

public int getRealBalance()
                   throws java.lang.Exception
Throws:
java.lang.Exception

getBalance

public int getBalance()
Specified by:
getBalance in interface Account

setBalance

public void setBalance(java.lang.Integer balance)
Specified by:
setBalance in interface Account

setBalance

public void setBalance(int balance)
Specified by:
setBalance in interface Account

getCreationDate

public java.sql.Timestamp getCreationDate()
Specified by:
getCreationDate in interface Account

setCreationDate

public void setCreationDate(java.sql.Timestamp creation_date)
Specified by:
setCreationDate in interface Account

getExtraInfo

public java.lang.String getExtraInfo()
Specified by:
getExtraInfo in interface Account

setExtraInfo

public void setExtraInfo(java.lang.String extra_info)
Specified by:
setExtraInfo in interface Account

addToBalance

public void addToBalance(int amount)
Specified by:
addToBalance in interface Account

addToBalance

public void addToBalance(java.lang.Integer amount)
Specified by:
addToBalance in interface Account

addKredit

public void addKredit(int amount)
Specified by:
addKredit in interface Account

addKredit

public void addKredit(java.lang.Integer amount)
Specified by:
addKredit in interface Account

addDebet

public void addDebet(int amount)
Specified by:
addDebet in interface Account

addDebet

public void addDebet(java.lang.Integer amount)
Specified by:
addDebet in interface Account

setValid

public void setValid(boolean valid)
Specified by:
setValid in interface Account

getValid

public boolean getValid()
Specified by:
getValid in interface Account

setAccountYear

public void setAccountYear(int year)
Specified by:
setAccountYear in interface Account

getAccountYear

public int getAccountYear()
Specified by:
getAccountYear in interface Account


Copyright © 2000-2014 idega software. All Rights Reserved.