org.sequalite.model
Class SeQuaLiteModel

java.lang.Object
  extended by org.sequalite.model.SeQuaLiteModel
All Implemented Interfaces:
java.io.Serializable

public abstract class SeQuaLiteModel
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static byte NEW_FLAG
           
static byte PROXY_FLAG
           
static byte READ_MODE_FLAG
           
 
Constructor Summary
SeQuaLiteModel()
           
 
Method Summary
 SeQuaLiteModel getChild(java.lang.String javaName)
           
 java.util.List getChildren(java.lang.String javaName)
           
 Session getSession()
           
 boolean isChildCreated(int childIndex)
           
 boolean isFlagSet(byte flag)
           
 boolean isNew()
           
 boolean isProxy()
           
 void setChildCreated(int childIndex)
           
 void setFlag(byte flag, boolean set)
           
 void setSession(Session session)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEW_FLAG

public static final byte NEW_FLAG
See Also:
Constant Field Values

PROXY_FLAG

public static final byte PROXY_FLAG
See Also:
Constant Field Values

READ_MODE_FLAG

public static final byte READ_MODE_FLAG
See Also:
Constant Field Values
Constructor Detail

SeQuaLiteModel

public SeQuaLiteModel()
Method Detail

getChild

public SeQuaLiteModel getChild(java.lang.String javaName)
                        throws SeQuaLiteException
Throws:
SeQuaLiteException

getChildren

public java.util.List getChildren(java.lang.String javaName)
                           throws SeQuaLiteException
Throws:
SeQuaLiteException

getSession

public Session getSession()

isChildCreated

public boolean isChildCreated(int childIndex)

isFlagSet

public boolean isFlagSet(byte flag)

isNew

public boolean isNew()

isProxy

public boolean isProxy()

setChildCreated

public void setChildCreated(int childIndex)

setFlag

public void setFlag(byte flag,
                    boolean set)

setSession

public void setSession(Session session)