com.jp.protection.priv.pro.parser
Class OrderParser.PropertyValue

java.lang.Object
  extended by com.jp.protection.priv.pro.parser.OrderParser.PropertyValue
Enclosing class:
OrderParser

public static class OrderParser.PropertyValue
extends java.lang.Object

Represents order property value read by parser from the order


Field Summary
protected  int fColumn
           
protected  int fLine
           
protected  java.lang.String fName
           
protected  java.lang.Object fValue
           
 
Constructor Summary
OrderParser.PropertyValue(java.lang.String aName, java.lang.Object aValue, int aLine, int aColumn)
          Creates and initializes an new PropertyValue instance
 
Method Summary
 int getColumn()
          Returns number of column this property is located in the order
 int getLine()
          Returns number of line this property is located in the order
 java.lang.String getName()
          Returns the name of the property
 java.lang.Object getValue()
          Returns property value
 java.lang.String toString()
          Returns textual representation of the property as formatted concatenation if its attributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fName

protected java.lang.String fName

fValue

protected java.lang.Object fValue

fLine

protected int fLine

fColumn

protected int fColumn
Constructor Detail

OrderParser.PropertyValue

public OrderParser.PropertyValue(java.lang.String aName,
                                 java.lang.Object aValue,
                                 int aLine,
                                 int aColumn)
Creates and initializes an new PropertyValue instance

Parameters:
aName - property name
aValue - property value
aLine - number of line this property is located in the order
aColumn - number of column this property is located in the order
Method Detail

getName

public java.lang.String getName()
Returns the name of the property

Returns:
name of the property

toString

public java.lang.String toString()
Returns textual representation of the property as formatted concatenation if its attributes

Overrides:
toString in class java.lang.Object
Returns:
textual representation of the property

getColumn

public int getColumn()
Returns number of column this property is located in the order

Returns:
column number; -1 if it is unknown/not applicable

getLine

public int getLine()
Returns number of line this property is located in the order

Returns:
line number; -1 if it is unknown/not applicable

getValue

public java.lang.Object getValue()
Returns property value

Returns:
property value