|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.SIRAPRISE.client.jsba.AbstractDBObject
be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject
be.SIRAPRISE.client.jsba.Attribute
public final class Attribute
Constructor Summary | |
---|---|
Attribute()
Creates an empty Attribute |
|
Attribute(java.lang.String attributeName,
java.lang.String typeName,
int logicalLength)
Creates the Attribute |
Method Summary | |
---|---|
java.lang.String |
getAttributeAttributename()
Gets the attributename for attribute |
java.lang.String |
getAttributelogicallengthAttributename()
Gets the attributename for attributelogicallength |
java.lang.String |
getAttributelogicallengthLogicallength()
Gets the logicallength for attributelogicallength |
java.lang.String |
getAttributeTypename()
Gets the typename for attribute |
int |
getLogicalLength()
Gets The logical length, or -1 if this doen't apply |
java.lang.String |
getName()
Gets The attribute name |
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 |
getTypeName()
Gets The type name |
void |
setAttributenameFromDB(java.lang.String attributeName)
Sets attributename from the DB |
void |
setLogicalLength(int logicalLength)
Sets The logicalLength |
void |
setLogicallengthFromDB(java.lang.String logicalLength)
Sets logicallength from the DB |
void |
setName(java.lang.String attributeName)
Sets The attribute name |
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 |
setTypeName(java.lang.String typeName)
Sets The type name |
void |
setTypenameFromDB(java.lang.String typeName)
Sets typename from the DB |
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractUpdatableDBObject |
---|
dbUpdateCommand, dbUpdateCommand |
Methods inherited from class be.SIRAPRISE.client.jsba.AbstractDBObject |
---|
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
public Attribute(java.lang.String attributeName, java.lang.String typeName, int logicalLength)
attributeName
- The attribute nametypeName
- The type namelogicalLength
- The logical length, or -1 if not applicable or unknown or irrelevantMethod Detail |
---|
public final java.lang.String getAttributeAttributename()
DBObjectToAttribute
getAttributeAttributename
in interface DBObjectToAttribute
public java.lang.String getAttributelogicallengthAttributename()
DBObjectToAttributelogicallength
getAttributelogicallengthAttributename
in interface DBObjectToAttributelogicallength
public java.lang.String getAttributelogicallengthLogicallength()
DBObjectToAttributelogicallength
getAttributelogicallengthLogicallength
in interface DBObjectToAttributelogicallength
public final java.lang.String getAttributeTypename()
DBObjectToAttribute
getAttributeTypename
in interface DBObjectToAttribute
public final int getLogicalLength()
public final java.lang.String getName()
public final UpdatableDBObject getPreUpdateState()
UpdatableDBObject
getPreUpdateState
in interface UpdatableDBObject
public final java.lang.String getTypeName()
public final void setAttributenameFromDB(java.lang.String attributeName)
AttributeToDBObject
setAttributenameFromDB
in interface AttributelogicallengthToDBObject
setAttributenameFromDB
in interface AttributeToDBObject
attributeName
- The DB value for attributenamepublic final void setLogicalLength(int logicalLength)
logicalLength
- The logicalLength to set.public void setLogicallengthFromDB(java.lang.String logicalLength)
AttributelogicallengthToDBObject
setLogicallengthFromDB
in interface AttributelogicallengthToDBObject
logicalLength
- The DB value for logicallengthpublic final void setName(java.lang.String attributeName)
attributeName
- The attributeName to set.public final void setPreUpdateState()
UpdatableDBObject
setPreUpdateState
in interface UpdatableDBObject
public final void setTypeName(java.lang.String typeName)
typeName
- The typeName to set.public final void setTypenameFromDB(java.lang.String typeName)
AttributeToDBObject
setTypenameFromDB
in interface AttributeToDBObject
typeName
- The DB value for typename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |