com.mizar.metadata.db.bean
Class UserSdoGeomMetadataBean

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.metadata.db.bean.UserSdoGeomMetadataBean
All Implemented Interfaces:
JPAInterface, java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
UserSdoGeomMetadataRow

@Entity
public class UserSdoGeomMetadataBean
extends GenericBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
UserSdoGeomMetadataBean()
           
UserSdoGeomMetadataBean(java.lang.String tableName, java.lang.String columnName)
           
UserSdoGeomMetadataBean(java.lang.String tableName, java.lang.String columnName, int srid)
           
UserSdoGeomMetadataBean(java.lang.String owner, java.lang.String tableName, java.lang.String columnName)
           
UserSdoGeomMetadataBean(java.lang.String owner, java.lang.String tableName, java.lang.String columnName, int srid)
           
 
Method Summary
 UserSdoThemesBean addUserSdoThemesBean(UserSdoThemesBean userSdoThemesBean)
           
 java.lang.String getColumnName()
           
 java.lang.String getJustTableName()
          A transient method to return the just the table component of a OWNER.TABLE_NAME found in tableName
 java.lang.String getOwnerName()
          A transient method to return the owner component of a OWNER.TABLE_NAME found in tableName
 UserSdoGeomMetadataPK getPk()
           
 java.lang.Object getPrimaryKeyValue()
          NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)
 java.lang.Integer getSrid()
           
 java.lang.String getTableName()
           
 java.util.List<UserSdoThemesBean> getThemes()
           
 UserSdoThemesBean removeUserSdoThemesBean(UserSdoThemesBean userSdoThemesBean)
           
 void setPk(UserSdoGeomMetadataPK pk)
           
 void setSrid(java.lang.Integer srid)
           
 void setThemes(java.util.List<UserSdoThemesBean> userSdoThemesBeanList)
           
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserSdoGeomMetadataBean

public UserSdoGeomMetadataBean()

UserSdoGeomMetadataBean

public UserSdoGeomMetadataBean(java.lang.String tableName,
                               java.lang.String columnName)

UserSdoGeomMetadataBean

public UserSdoGeomMetadataBean(java.lang.String tableName,
                               java.lang.String columnName,
                               int srid)

UserSdoGeomMetadataBean

public UserSdoGeomMetadataBean(java.lang.String owner,
                               java.lang.String tableName,
                               java.lang.String columnName)

UserSdoGeomMetadataBean

public UserSdoGeomMetadataBean(java.lang.String owner,
                               java.lang.String tableName,
                               java.lang.String columnName,
                               int srid)
Method Detail

setPk

public void setPk(UserSdoGeomMetadataPK pk)

getPk

public UserSdoGeomMetadataPK getPk()

getPrimaryKeyValue

public java.lang.Object getPrimaryKeyValue()
Description copied from class: GenericBean

NOTE: If an implementing bean expects to be extended by a RowInterface in a often-used Table, you should override this method in order to avoid the overheads associated with the reflective code in JPAUtils.getPrimaryKeyValue(this)

 public Object getPrimaryKeyValue(){
   return getProperty();
 }
 

In the absence of an overriding method, this method provides a generic method to get the value of the primary key. This is especially useful for calls to em.find(object) from within abstract classes

Overrides:
getPrimaryKeyValue in class GenericBean
Returns:
JPAUtils#getPrimaryKeyValue(this)
See Also:
RowInterface.getPrimaryKeyValue()

getOwnerName

public java.lang.String getOwnerName()
A transient method to return the owner component of a OWNER.TABLE_NAME found in tableName

Returns:
the owner part of the tableName

getTableName

public java.lang.String getTableName()

getJustTableName

public java.lang.String getJustTableName()
A transient method to return the just the table component of a OWNER.TABLE_NAME found in tableName

Returns:
the table name stripped of any owner specification

getColumnName

public java.lang.String getColumnName()

getSrid

public java.lang.Integer getSrid()

setSrid

public void setSrid(java.lang.Integer srid)

getThemes

public java.util.List<UserSdoThemesBean> getThemes()

setThemes

public void setThemes(java.util.List<UserSdoThemesBean> userSdoThemesBeanList)

addUserSdoThemesBean

public UserSdoThemesBean addUserSdoThemesBean(UserSdoThemesBean userSdoThemesBean)

removeUserSdoThemesBean

public UserSdoThemesBean removeUserSdoThemesBean(UserSdoThemesBean userSdoThemesBean)