|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.miningmart.m4.utils.M4InfoEntry
Constructor Summary | |
M4InfoEntry(java.lang.String dbAttribute,
java.lang.String getter,
java.lang.String setter,
java.lang.Class objectClass)
|
|
M4InfoEntry(java.lang.String dbAttribute,
java.lang.String getter,
java.lang.String setter,
java.lang.Class objectClass,
java.lang.String constraint)
|
Method Summary | |
void |
activateSetter(M4Data m4d,
java.sql.ResultSet rs,
DB db)
|
java.lang.String |
getDbAttribute()
Gets the dbAttribute. |
java.lang.String |
getGetter()
Gets the getter. |
java.lang.String |
getSetter()
Gets the setter. |
java.lang.Class |
getTheObjectClass()
Gets the theObjectClass. |
boolean |
isNotNull()
Gets the NOT NULL property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public M4InfoEntry(java.lang.String dbAttribute, java.lang.String getter, java.lang.String setter, java.lang.Class objectClass)
dbAttribute
- the name of the attribute in the databasegetter
- the name of the getter for the attributesetter
- the name of the setter for the attributeobjectClass
- the class of the object returned by the getter and
expected by the setterpublic M4InfoEntry(java.lang.String dbAttribute, java.lang.String getter, java.lang.String setter, java.lang.Class objectClass, java.lang.String constraint)
dbAttribute
- the name of the attribute in the databasegetter
- the name of the getter for the attributesetter
- the name of the setter for the attributeobjectClass
- the class of the object returned by the getter and
expected by the setterconstraint
- a String
constant defined in the
M4Table
interface specifying the constraints
of the attributeMethod Detail |
public java.lang.String getDbAttribute()
public java.lang.String getGetter()
public java.lang.String getSetter()
public java.lang.Class getTheObjectClass()
public void activateSetter(M4Data m4d, java.sql.ResultSet rs, DB db) throws java.sql.SQLException, M4Exception
java.sql.SQLException
M4Exception
public boolean isNotNull()
NOT NULL
property
true
iff this attribute
is not allowed to be null
in the database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |