tauZaman
v0.1

tauzaman.property
Class FieldInfo

java.lang.Object
  |
  +--tauzaman.property.FieldInfo

public class FieldInfo
extends java.lang.Object

FieldInfo class keeps the content of an XML element, called fieldInfo, in a Property specification file.

fieldInfo element contains attributes that store a Field Name, a Format Variable Name and a Field Value Table|Function name.

XML Representation of Properties

See Also:
Property, Field, Fields
Status:
design complete, implementation complete

Constructor Summary
FieldInfo(org.w3c.dom.Element root, java.util.Hashtable fvMapper, java.net.URL url)
          Constructs a FieldInfo object, from given DOM node parsed from Property Specification file.
 
Method Summary
 java.lang.String getFieldInfoName()
          Returns the Field Name of this FieldInfo
 java.net.URL getFVSUrl()
          Returns the URL of the FVS service table|function.
 java.lang.String getVariableName()
          Returns the name of the variable
 java.lang.String toString()
          toString method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldInfo

public FieldInfo(org.w3c.dom.Element root,
                 java.util.Hashtable fvMapper,
                 java.net.URL url)
          throws PropertyFormationException
Constructs a FieldInfo object, from given DOM node parsed from Property Specification file.

Parameters:
root - DOM Element
fvMapper - A Hashtable, which maps field value support labels to their urls. This information is passed by PropertyRepository since this information resides in Property specification file (as helper) rather than in individual Properties.
url - URL of Property Specification file this ImportFormat is gotten
Throws:
PropertyFormationException - if any problem occurs when parsing the property specification file
Method Detail

getVariableName

public java.lang.String getVariableName()
Returns the name of the variable

Returns:
name of the field varible

getFieldInfoName

public java.lang.String getFieldInfoName()
Returns the Field Name of this FieldInfo

Returns:
name of the Field
See Also:
Field

getFVSUrl

public java.net.URL getFVSUrl()
Returns the URL of the FVS service table|function.

Returns:
URL url of the table/function that this FieldInfo will use

toString

public java.lang.String toString()
toString method

Overrides:
toString in class java.lang.Object
Returns:
string representation of this object

tauZaman
v0.1

Submit a bug or feature

tauZaman is an open-source, publicly avaliable project