@Relvars(relvarNames="RECORDATTRIBUTE") public final class RecordAttribute extends AbstractUpdatableDBObject
Constructor and Description |
---|
RecordAttribute()
Creates the RecordAttribute
|
RecordAttribute(java.lang.String relvarName,
java.lang.String recordTypeName,
int ordinal,
java.lang.String attributeName)
Creates the RecordAttribute
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName()
Gets attributeName
|
int |
getOrdinal()
Gets ordinal
|
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 |
getRecordTypeName()
Gets recordTypeName
|
java.lang.String |
getRelvarName()
Gets relvarName
|
void |
setAttributeName(java.lang.String attributeName)
Sets attributeName
|
void |
setAttributeName(ValueBuffer attributeName)
Sets attributeName
|
void |
setOrdinal(int ordinal)
Sets ordinal
|
void |
setOrdinal(ValueBuffer ordinal)
Sets ordinal
|
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 |
setRecordTypeName(java.lang.String recordTypeName)
Sets recordTypeName
|
void |
setRecordTypeName(ValueBuffer recordTypeName)
Sets recordTypeName
|
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 RecordAttribute()
public RecordAttribute(java.lang.String relvarName, java.lang.String recordTypeName, int ordinal, java.lang.String attributeName)
relvarName
- -recordTypeName
- -ordinal
- -attributeName
- -@GetterMethod(attributeDefs=@AttributeDef(attributeName="ATTRIBUTENAME",requiresEscaping=false,typeName="NAME"), relvarNames="RECORDATTRIBUTE") public final java.lang.String getAttributeName()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="ORDINAL",requiresEscaping=false,typeName="INT"), relvarNames="RECORDATTRIBUTE") public final int getOrdinal()
public UpdatableDBObject getPreUpdateState()
UpdatableDBObject
@GetterMethod(attributeDefs=@AttributeDef(attributeName="RECORDTYPENAME",requiresEscaping=false,typeName="NAME"), relvarNames="RECORDATTRIBUTE") public final java.lang.String getRecordTypeName()
@GetterMethod(attributeDefs=@AttributeDef(attributeName="RELVARNAME",requiresEscaping=false,typeName="NAME"), relvarNames="RECORDATTRIBUTE") public final java.lang.String getRelvarName()
public 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 setOrdinal(int ordinal)
ordinal
- The ordinal to set.@AttributeDef(attributeName="ORDINAL", requiresEscaping=false, typeName="INT") public final void setOrdinal(ValueBuffer ordinal)
ordinal
- The ordinal to set.public final void setPreUpdateState()
UpdatableDBObject
public final void setRecordTypeName(java.lang.String recordTypeName)
recordTypeName
- The recordTypeName to set.@AttributeDef(attributeName="RECORDTYPENAME", requiresEscaping=false, typeName="NAME") public final void setRecordTypeName(ValueBuffer recordTypeName)
recordTypeName
- The recordTypeName to set.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.