it.eng.qbe.utility
Class RelationField

java.lang.Object
  extended by it.eng.qbe.utility.RelationField

public class RelationField
extends java.lang.Object

The Class RelationField.

Author:
Zoppello

Constructor Summary
RelationField(java.lang.String aFieldName, java.lang.String className)
          Instantiates a new relation field.
RelationField(java.lang.String aFieldName, java.lang.String className, java.lang.String relationOnColumnName)
          Instantiates a new relation field.
 
Method Summary
 java.lang.String getClassName()
          Gets the class name.
 java.lang.String getFieldName()
          Gets the field name.
 java.lang.String getRelationOnColumnName()
          Gets the relation on column name.
 void setClassName(java.lang.String className)
          Sets the class name.
 void setFieldName(java.lang.String fieldName)
          Sets the field name.
 void setRelationOnColumnName(java.lang.String relationOnColumnName)
          Sets the relation on column name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationField

public RelationField(java.lang.String aFieldName,
                     java.lang.String className)
Instantiates a new relation field.

Parameters:
aFieldName - the a field name
className - the class name

RelationField

public RelationField(java.lang.String aFieldName,
                     java.lang.String className,
                     java.lang.String relationOnColumnName)
Instantiates a new relation field.

Parameters:
aFieldName - the a field name
className - the class name
relationOnColumnName - the relation on column name
Method Detail

getClassName

public java.lang.String getClassName()
Gets the class name.

Returns:
Returns the className.

setClassName

public void setClassName(java.lang.String className)
Sets the class name.

Parameters:
className - The className to set.

getFieldName

public java.lang.String getFieldName()
Gets the field name.

Returns:
Returns the fieldName.

setFieldName

public void setFieldName(java.lang.String fieldName)
Sets the field name.

Parameters:
fieldName - The fieldName to set.

getRelationOnColumnName

public java.lang.String getRelationOnColumnName()
Gets the relation on column name.

Returns:
the relation on column name

setRelationOnColumnName

public void setRelationOnColumnName(java.lang.String relationOnColumnName)
Sets the relation on column name.

Parameters:
relationOnColumnName - the new relation on column name