is.idega.idegaweb.golf.entity
Class TeeBMPBean

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

public class TeeBMPBean
extends com.idega.data.GenericEntity
implements Tee

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
TeeBMPBean()
           
 
Method Summary
 java.util.Collection ejbFindByFieldAndHoleNumber(int fieldID, int holeNumber)
           
 java.lang.Object ejbFindByFieldAndTeeColorAndHoleNumber(Field field, TeeColor teeColor, int holeNumber)
           
 java.lang.Object ejbFindByFieldAndTeeColorAndHoleNumber(int fieldID, int teeColorID, int holeNumber)
           
 java.util.Collection ejbFindByFieldAndTeeColorAndHoleNumbers(Field field, TeeColor teeColor, int startHole, int endHole)
           
 int ejbHomeGetFieldLength(Field field, TeeColor teeColor)
           
 int ejbHomeGetFieldPar(Field field, TeeColor teeColor)
           
 float getCourseRating()
           
 java.lang.String getEntityName()
           
 Field getField()
           
 int getFieldID()
           
 float getHandicap()
           
 int getHoleNumber()
           
 java.lang.String getName()
           
 int getPar()
           
 int getSlope()
           
 TeeColor getTeeColor()
           
 int getTeeColorID()
           
 int getTeeLength()
           
 void initializeAttributes()
           
 boolean isValid()
           
 void setCourseRating(float cr)
           
 void setCourseRating(java.lang.String courseRating)
           
 void setFieldID(int fieldID)
           
 void setHandicap(float handicap)
           
 void setHandicap(java.lang.String handicap)
           
 void setHoleName(java.lang.String name)
           
 void setHoleNumber(int number)
           
 void setPar(int par)
           
 void setSlope(int slope)
           
 void setSlope(java.lang.String slope)
           
 void setTeeColorID(int teeColorID)
           
 void setTeeLength(int length)
           
 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, setName, 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, setName, 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

TeeBMPBean

public TeeBMPBean()
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

getTeeLength

public int getTeeLength()
Specified by:
getTeeLength in interface Tee
See Also:
getTeeLength()

getTeeColor

public TeeColor getTeeColor()
Specified by:
getTeeColor in interface Tee
See Also:
getTeeColor()

getTeeColorID

public int getTeeColorID()
Specified by:
getTeeColorID in interface Tee
See Also:
getTeeColorID()

getField

public Field getField()
Specified by:
getField in interface Tee
See Also:
getField()

getFieldID

public int getFieldID()
Specified by:
getFieldID in interface Tee
See Also:
getFieldID()

getHoleNumber

public int getHoleNumber()
Specified by:
getHoleNumber in interface Tee
See Also:
getHoleNumber()

getPar

public int getPar()
Specified by:
getPar in interface Tee
See Also:
getPar()

getName

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

getCourseRating

public float getCourseRating()
Specified by:
getCourseRating in interface Tee
See Also:
getCourseRating()

getSlope

public int getSlope()
Specified by:
getSlope in interface Tee
See Also:
getSlope()

getHandicap

public float getHandicap()
Specified by:
getHandicap in interface Tee
See Also:
getHandicap()

isValid

public boolean isValid()

setTeeLength

public void setTeeLength(int length)
Specified by:
setTeeLength in interface Tee
See Also:
setTeeLength(int)

setTeeColorID

public void setTeeColorID(int teeColorID)
Specified by:
setTeeColorID in interface Tee
See Also:
setTeeColorID(int)

setFieldID

public void setFieldID(int fieldID)
Specified by:
setFieldID in interface Tee
See Also:
setFieldID(int)

setHoleNumber

public void setHoleNumber(int number)
Specified by:
setHoleNumber in interface Tee
See Also:
setHoleNumber(int)

setPar

public void setPar(int par)
Specified by:
setPar in interface Tee
See Also:
setPar(int)

setHoleName

public void setHoleName(java.lang.String name)
Specified by:
setHoleName in interface Tee
See Also:
setHoleName(java.lang.String)

setCourseRating

public void setCourseRating(float cr)
Specified by:
setCourseRating in interface Tee
See Also:
setCourseRating(float)

setCourseRating

public void setCourseRating(java.lang.String courseRating)
Specified by:
setCourseRating in interface Tee
See Also:
setCourseRating(float)

setHandicap

public void setHandicap(float handicap)
Specified by:
setHandicap in interface Tee
See Also:
setHandicap(float)

setHandicap

public void setHandicap(java.lang.String handicap)
Specified by:
setHandicap in interface Tee
See Also:
setHandicap(float)

setSlope

public void setSlope(java.lang.String slope)
Specified by:
setSlope in interface Tee
See Also:
setSlope(java.lang.String)

setSlope

public void setSlope(int slope)
Specified by:
setSlope in interface Tee
See Also:
setSlope(java.lang.String)

setValid

public void setValid(boolean valid)

ejbFindByFieldAndHoleNumber

public java.util.Collection ejbFindByFieldAndHoleNumber(int fieldID,
                                                        int holeNumber)
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindByFieldAndTeeColorAndHoleNumber

public java.lang.Object ejbFindByFieldAndTeeColorAndHoleNumber(Field field,
                                                               TeeColor teeColor,
                                                               int holeNumber)
                                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindByFieldAndTeeColorAndHoleNumber

public java.lang.Object ejbFindByFieldAndTeeColorAndHoleNumber(int fieldID,
                                                               int teeColorID,
                                                               int holeNumber)
                                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindByFieldAndTeeColorAndHoleNumbers

public java.util.Collection ejbFindByFieldAndTeeColorAndHoleNumbers(Field field,
                                                                    TeeColor teeColor,
                                                                    int startHole,
                                                                    int endHole)
                                                             throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeGetFieldPar

public int ejbHomeGetFieldPar(Field field,
                              TeeColor teeColor)
                       throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

ejbHomeGetFieldLength

public int ejbHomeGetFieldLength(Field field,
                                 TeeColor teeColor)
                          throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException


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