jpa.p1.sub
Class SubValue

java.lang.Object
  |
  +--jpa.p1.sub.SubValue

public class SubValue
extends java.lang.Object

This class represents a single PlatformOne value or attribute. It is instantiated and populated by the JPA PlatformOne Subscription package, when images and updates are received following a record watch. It may be accessed via the getValue and getAttr methods in the SubRecord class.


Method Summary
protected  void finalize()
           
 java.lang.String getDisplayValue()
          This method returns the dipslay value of the field.
 java.lang.String getFieldName()
          This method returns the field name.
 int getFieldType()
          This method returns the field type.
 java.lang.String getValue()
          This method returns the internal value of the field.
 boolean isChanged()
          This method determines whether or not the field has changed in the current update.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object

isChanged

public boolean isChanged()
This method determines whether or not the field has changed in the current update.

getFieldName

public java.lang.String getFieldName()
This method returns the field name.

getFieldType

public int getFieldType()
This method returns the field type. The following values are currently implemented:

  • FIELDTYPE_TEXT
  • FIELDTYPE_NUMERIC
  • FIELDTYPE_PRICE

  • getValue

    public java.lang.String getValue()
    This method returns the internal value of the field.

    getDisplayValue

    public java.lang.String getDisplayValue()
    This method returns the dipslay value of the field.