wt.fc
Class IdUpdateCountObject

java.lang.Object
  extended bywt.fc.IdUpdateCountObject
All Implemented Interfaces:
DatastoreElement, DatastoreStruct, NetFactor, ObjectMappable, Serializable

public class IdUpdateCountObject
extends Object
implements DatastoreStruct

This class represents a Datastore struct containing an object's ID and update count.

Use the newIdUpdateCountObject static factory method(s), not the IdUpdateCountObject constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  long id
           
private static String RESOURCE
           
private  long updateCount
           
 
Constructor Summary
IdUpdateCountObject()
           
 
Method Summary
 ClassInfo getClassInfo()
          Returns the ClassInfo object for this class.
 String getConceptualClassname()
          Deprecated.  
 long getId()
          Gets the value of the attribute: id; Object ID.
 long getUpdateCount()
          Gets the value of the attribute: updateCount; Object update count.
protected  void initialize()
          Supports initialization, following construction of an instance.
static IdUpdateCountObject newIdUpdateCountObject()
          Default factory for the class.
 void readExternal(PersistentRetrieveIfc input)
          Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.
 void setId(long a_Id)
          Sets the value of the attribute: id; Object ID.
 void setUpdateCount(long a_UpdateCount)
          Sets the value of the attribute: updateCount; Object update count.
 String toString()
          Returns the conceptual (modeled) name for the class.
 void writeExternal(PersistentStoreIfc output)
          Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

id

private long id

updateCount

private long updateCount
Constructor Detail

IdUpdateCountObject

public IdUpdateCountObject()
Method Detail

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Parameters:
input -
Throws:
SQLException
DatastoreException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

toString

public String toString()
Returns the conceptual (modeled) name for the class.

Supported API: false

Returns:
String

getClassInfo

public ClassInfo getClassInfo()
                       throws WTIntrospectionException
Returns the ClassInfo object for this class.

Supported API: false

Specified by:
getClassInfo in interface NetFactor
Returns:
ClassInfo
Throws:
WTIntrospectionException

getId

public long getId()
Gets the value of the attribute: id; Object ID.

Supported API: false

Returns:
long

setId

public void setId(long a_Id)
           throws WTPropertyVetoException
Sets the value of the attribute: id; Object ID.

Supported API: false

Parameters:
a_Id -
Throws:
WTPropertyVetoException

getUpdateCount

public long getUpdateCount()
Gets the value of the attribute: updateCount; Object update count.

Supported API: false

Returns:
long

setUpdateCount

public void setUpdateCount(long a_UpdateCount)
                    throws WTPropertyVetoException
Sets the value of the attribute: updateCount; Object update count.

Supported API: false

Parameters:
a_UpdateCount -
Throws:
WTPropertyVetoException

newIdUpdateCountObject

public static IdUpdateCountObject newIdUpdateCountObject()
                                                  throws WTException
Default factory for the class.

Supported API: false

Returns:
IdUpdateCountObject
Throws:
WTException

initialize

protected void initialize()
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: false

Throws:
WTException