jpa.p1.sub
Class SubField

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

public class SubField
extends java.lang.Object

This class represents a single PlatformOne field. It is instantiated and populated by the JPA PlatformOne Subscription package, when a schema is received following a record watch. It may be accessed via the getField method in the SubSchema class.


Method Summary
 java.lang.String getName()
          This method returns the field name.
 int getType()
          This method returns the field type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

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

getType

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

  • FIELDTYPE_TEXT
  • FIELDTYPE_NUMERIC
  • FIELDTYPE_PRICE