@Relvars(relvarNames="KEY") public final class Key extends AbstractUpdatableDBObject
Constructor and Description |
---|
Key()
Creates the Key
|
Key(java.lang.String relvarName,
long errorCode)
Creates the Key
|
Modifier and Type | Method and Description |
---|---|
long |
getErrorCode()
Gets errorCode
|
UpdatableDBObject |
getPreUpdateState()
Gets The state of the object as it was built by the J/R bridging engine immediately after the object was created from a database tuple (and which should have been set by/using the setPreUpdateState() method.
|
java.lang.String |
getRelvarName()
Gets relvarName
|
void |
setErrorCode(long errorCode)
Sets errorCode
|
void |
setErrorCode(ValueBuffer errorCode)
Sets errorCode
|
void |
setPreUpdateState()
This method is called by the J/R bridging engine after an object has been setup from some tuple retrieved from the database.
|
void |
setRelvarName(java.lang.String relvarName)
Sets relvarName
|
void |
setRelvarName(ValueBuffer relvarName)
Sets relvarName
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommand
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
public Key()
public Key(java.lang.String relvarName, long errorCode)
relvarName
- -errorCode
- -@GetterMethod(attributeDefs=@AttributeDef(attributeName="ERRORCODE",requiresEscaping=false,typeName="LONG"), relvarNames="KEY") public final long getErrorCode()
public UpdatableDBObject getPreUpdateState()
UpdatableDBObject
@GetterMethod(attributeDefs=@AttributeDef(attributeName="RELVARNAME",requiresEscaping=false,typeName="NAME"), relvarNames="KEY") public final java.lang.String getRelvarName()
public final void setErrorCode(long errorCode)
errorCode
- The errorCode to set.@AttributeDef(attributeName="ERRORCODE", requiresEscaping=false, typeName="LONG") public final void setErrorCode(ValueBuffer errorCode)
errorCode
- The errorCode to set.public final void setPreUpdateState()
UpdatableDBObject
public final void setRelvarName(java.lang.String relvarName)
relvarName
- The relvarName to set.@AttributeDef(attributeName="RELVARNAME", requiresEscaping=false, typeName="NAME") public final void setRelvarName(ValueBuffer relvarName)
relvarName
- The relvarName to set.