com.hyper9.vangaea.impls.beans.admin
Class AdminBeanImpl

java.lang.Object
  extended by com.hyper9.uvapi.impls.BeanImpl
      extended by com.hyper9.uvapi.impls.UniqueBeanImpl<java.lang.Integer>
          extended by com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl
All Implemented Interfaces:
com.hyper9.common.beans.Bean, com.hyper9.common.beans.UniqueBean<java.lang.Integer>, AdminBean, java.io.Serializable
Direct Known Subclasses:
AuthCookieBeanImpl, ConnectorTypeBeanImpl, LinkedCredentialBeanImpl, ServerInformationBeanImpl, UriMappingBeanImpl, UserBeanImpl

public abstract class AdminBeanImpl
extends com.hyper9.uvapi.impls.UniqueBeanImpl<java.lang.Integer>
implements AdminBean

A bean describing an object returned by the administrative RESTful API.

Author:
akutz
See Also:
Serialized Form

Field Summary
protected  java.sql.Connection conn
          The underlying data connection.
protected  boolean isDeleted
           
protected  boolean isDirty
           
 
Constructor Summary
protected AdminBeanImpl()
          Default constructor for serialization purposes.
protected AdminBeanImpl(int id, java.sql.Connection connection)
          Initializes a new instance of the AdminBeanImpl class.
 
Method Summary
 java.sql.Connection getConnection()
          Gets the underlying data connection.
 boolean isDeleted()
          Gets a value indicating whether or not this bean has been deleted from the underlying table.
 boolean isDirty()
          Gets a value indicating whether or not this bean's properties are out of sync with the data in the underlying table.
 
Methods inherited from class com.hyper9.uvapi.impls.UniqueBeanImpl
getID, setID
 
Methods inherited from class com.hyper9.uvapi.impls.BeanImpl
toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hyper9.common.beans.UniqueBean
getID, setID
 
Methods inherited from interface com.hyper9.common.beans.Bean
toString, toString, toString, toString
 

Field Detail

conn

protected java.sql.Connection conn
The underlying data connection.


isDeleted

protected boolean isDeleted

isDirty

protected boolean isDirty
Constructor Detail

AdminBeanImpl

protected AdminBeanImpl()
Default constructor for serialization purposes.


AdminBeanImpl

protected AdminBeanImpl(int id,
                        java.sql.Connection connection)
Initializes a new instance of the AdminBeanImpl class.

Parameters:
type - The bean's type.
connection - The underlying data connection.
Method Detail

getConnection

public java.sql.Connection getConnection()
Description copied from interface: AdminBean
Gets the underlying data connection.

Specified by:
getConnection in interface AdminBean
Returns:
The underlying data connection.

isDeleted

public boolean isDeleted()
Description copied from interface: AdminBean
Gets a value indicating whether or not this bean has been deleted from the underlying table.

Specified by:
isDeleted in interface AdminBean
Returns:
A value indicating whether or not this bean has been deleted from the underlying table.

isDirty

public boolean isDirty()
Description copied from interface: AdminBean
Gets a value indicating whether or not this bean's properties are out of sync with the data in the underlying table.

Specified by:
isDirty in interface AdminBean
Returns:
A value indicating whether or not this bean's properties are out of sync with the data in the underlying table.


Copyright © 2009 Hyper9. All Rights Reserved.