public class ReferenceFieldAttribute extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
attr
The attribute name.
|
protected String |
cod
The cod reference.
|
protected Vector |
cols
The cols reference.
|
protected String |
entityName
The entity name.
|
| Constructor and Description |
|---|
ReferenceFieldAttribute(String attr,
String entity,
String cod,
Vector cols)
The class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAttr()
Gets the name of attribute in the N-side of relation.
|
String |
getCod()
Gets the name of column in the 1-side of relation.
|
Vector |
getCols()
Gets the columns to ask for the entity.
|
String |
getEntity()
Gets the entity name.
|
int |
hashCode() |
static Hashtable |
processReferenceFieldAttribute(Hashtable keysValues)
Processes the reference field attribute and returns a
Hashtable where the ReferenceFieldAttribute keys will be
replaced by their cods. |
static Vector |
processReferenceFieldAttribute(Vector a)
Processes the reference field attribute and returns a
Vector
where the getAttr()will be added. |
String |
toString() |
protected String cod
protected String entityName
protected String attr
protected Vector cols
public String getCod()
public String getEntity()
public String getAttr()
public Vector getCols()
public static Hashtable processReferenceFieldAttribute(Hashtable keysValues)
Hashtable where the ReferenceFieldAttribute keys will be
replaced by their cods.keysValues - the original HashtableHashtablepublic static Vector processReferenceFieldAttribute(Vector a)
Vector
where the getAttr()will be added.a - the original VectorVectorCopyright © 2016 Imatia Innovation S.L.. All rights reserved.