|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.field.ReferenceFieldAttribute
This class represents an attribute in a reference field.
| Field Summary | |
protected java.lang.String |
attr
The attribute name. |
protected java.lang.String |
cod
The cod reference. |
protected java.util.Vector |
cols
The cols reference. |
protected java.lang.String |
entityName
The entity name. |
| Constructor Summary | |
ReferenceFieldAttribute(java.lang.String attr,
java.lang.String entity,
java.lang.String cod,
java.util.Vector cols)
The class constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAttr()
Gets the name of attribute in the N-side of relation. |
java.lang.String |
getCod()
Gets the name of column in the 1-side of relation. |
java.util.Vector |
getCols()
Gets the columns to ask for the entity. |
java.lang.String |
getEntity()
Gets the entity name. |
int |
hashCode()
|
static java.util.Hashtable |
processReferenceFieldAttribute(java.util.Hashtable keysValues)
Processes the reference field attribute and returns a Hashtable where the ReferenceFieldAttribute keys will be
replaced by their cods. |
static java.util.Vector |
processReferenceFieldAttribute(java.util.Vector a)
Processes the reference field attribute and returns a Vector
where the getAttr()will be added. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String cod
protected java.lang.String entityName
protected java.lang.String attr
protected java.util.Vector cols
| Constructor Detail |
public ReferenceFieldAttribute(java.lang.String attr,
java.lang.String entity,
java.lang.String cod,
java.util.Vector cols)
attr - attribute nameentity - entity namecod - cod referencecols - column reference| Method Detail |
public java.lang.String getCod()
public java.lang.String getEntity()
public java.lang.String getAttr()
public java.util.Vector getCols()
public static java.util.Hashtable processReferenceFieldAttribute(java.util.Hashtable keysValues)
Hashtable where the ReferenceFieldAttribute keys will be
replaced by their cods.
keysValues - the original Hashtable
Hashtablepublic static java.util.Vector processReferenceFieldAttribute(java.util.Vector a)
Vector
where the getAttr()will be added.
a - the original Vector
Vectorpublic java.lang.String toString()
public boolean equals(java.lang.Object o)
public int hashCode()
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||