@Relvars(relvarNames="KEYATTRIBUTE") public final class KeyAttribute extends AbstractUpdatableDBObject
| Constructor and Description |
|---|
KeyAttribute()
Creates the KeyAttribute
|
KeyAttribute(long errorCode,
java.lang.String attributeName)
Creates the KeyAttribute
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeName()
Gets attributeName
|
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.
|
void |
setAttributeName(java.lang.String attributeName)
Sets attributeName
|
void |
setAttributeName(ValueBuffer attributeName)
Sets attributeName
|
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.
|
dbUpdateCommand, dbUpdateCommand, dbUpdateCommanddbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAllpublic KeyAttribute()
public KeyAttribute(long errorCode,
java.lang.String attributeName)
errorCode - -attributeName - -@GetterMethod(attributeDefs=@AttributeDef(attributeName="ATTRIBUTENAME",requiresEscaping=false,typeName="NAME"), relvarNames="KEYATTRIBUTE") public final java.lang.String getAttributeName()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="ERRORCODE",requiresEscaping=false,typeName="LONG"), relvarNames="KEYATTRIBUTE") public final long getErrorCode()
public UpdatableDBObject getPreUpdateState()
UpdatableDBObjectpublic final void setAttributeName(java.lang.String attributeName)
attributeName - The attributeName to set.@AttributeDef(attributeName="ATTRIBUTENAME", requiresEscaping=false, typeName="NAME") public final void setAttributeName(ValueBuffer attributeName)
attributeName - The attributeName to set.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