jpa.p1.pub
Class PubField

java.lang.Object
  |
  +--jpa.p1.pub.PubField

public class PubField
extends java.lang.Object

This class represents a single PlatformOne field. It is instantiated and populated by the JPA PlatformOne Publishing package, when a schema is received following a record watch. It may be accessed via the getField method in the PubSchema 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