|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.Record
de.mguennewig.pobjects.PObject
de.mguennewig.pobjects.demo.PClassCurrency
public abstract class PClassCurrency
PObject glue class for Currency.
This class is generated automatically. Look in data-definition- file for more details.
| Field Summary | |
|---|---|
static IdField |
attrId
Contains the definition for id. |
static Field |
attrLongName
Contains the definition for longName. |
static Field |
attrShortName
Contains the definition for shortName. |
static Int32Type |
atypeId
Contains the type definition for id. |
static StringType |
atypeLongName
Contains the type definition for longName. |
static StringType |
atypeShortName
Contains the type definition for shortName. |
static ClassDecl |
cdeclCurrency
Contains the metadata used to create this class. |
static UniqueConstraint |
uniqueCurrencyLongName
|
static UniqueConstraint |
uniqueCurrencyShortName
|
| Fields inherited from class de.mguennewig.pobjects.PObject |
|---|
CHECK_ALL_FIELDS, CHECK_CHANGED_ONLY, CHECK_NOTHING, STATE_COMMITED, STATE_DELETE, STATE_DIRTY, STATE_INTERNALIZED, STATE_INVALID, STATE_NEW_OBJECT, STATE_REFERENCE, STATE_TRANSIENT |
| Method Summary | |
|---|---|
java.lang.Object |
get(int i)
Returns the value of the column with index i. |
ClassDecl |
getClassDecl()
Returns the metadata used to create this class. |
java.lang.String |
getLongName()
Returns the value of longName. |
java.lang.String |
getLongNameForVisual()
Returns the preferred string representation of longName. |
java.lang.String |
getShortName()
Returns the value of shortName. |
java.lang.String |
getShortNameForVisual()
Returns the preferred string representation of shortName. |
void |
set(int i,
java.lang.Object value)
Set value of field with index index. |
void |
setLongName(java.lang.String v)
Sets the value for longName. |
void |
setShortName(java.lang.String v)
Sets the value for shortName. |
| Methods inherited from class de.mguennewig.pobjects.PObject |
|---|
checkConstraints, checkConstraints, copyState, delete, getChangedValues, getContainer, getDefaultFieldCheckStyle, getId, getIdForVisual, getKey, getKey, getOldValues, getPObjState, getTableExpr, isInstanceOf, isInternalized, isPersistent, isReference, loadForUpdate, loadIfReference, revert, set, setDefaultFieldCheckStyle, store, store, toString |
| Methods inherited from class de.mguennewig.pobjects.Record |
|---|
format, get |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Int32Type atypeId
id.
public static final IdField attrId
id.
atypeIdpublic static final StringType atypeShortName
shortName.
public static final Field attrShortName
shortName.
atypeShortNamepublic static final StringType atypeLongName
longName.
public static final Field attrLongName
longName.
atypeLongNamepublic static final UniqueConstraint uniqueCurrencyShortName
public static final UniqueConstraint uniqueCurrencyLongName
public static final ClassDecl cdeclCurrency
| Method Detail |
|---|
public ClassDecl getClassDecl()
getClassDecl in class PObjectpublic final java.lang.String getShortName()
shortName.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getShortNameForVisual()
shortName.
PObjReadError - if a database error occurs.getShortName()public void setShortName(java.lang.String v)
shortName.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public final java.lang.String getLongName()
longName.
This method ensures that all data will be read from the DBMS if not already done.
PObjReadError - if a database error occurs.public java.lang.String getLongNameForVisual()
longName.
PObjReadError - if a database error occurs.getLongName()public void setLongName(java.lang.String v)
longName.
This method ensures that all data will be read from the DBMS if not already done, before changing the field.
PObjReadError - if a database error occurs.public java.lang.Object get(int i)
i.
get in class Recordjava.lang.IndexOutOfBoundsException - if no column with index i
exists.
public void set(int i,
java.lang.Object value)
Recordindex.
This method is primarily intended for use by procedures that work on
meta level of de.mguennewig.pobjects. It differs from the per
field setXXX() methods in that it does not load the object's
data if it is not in memory. If unsure whether the object's state has been
internalized, then any call to this method must be preceded by a
call to PObject.loadIfReference().
set in class Record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||