jpa.p1.pub
Class PubSchema

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

public class PubSchema
extends java.lang.Object

This class represents a single PlatformOne schema. 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 getSchema method in the PubDataset class.


Method Summary
 PubDataset getDataset()
          This method returns a reference to the object representing the dataset to which this schema belongs.
 PubField getField(int field)
          This method returns a reference to the object representing an individual field in the schema.
 java.lang.String getName()
          This method returns the name of the schema.
 int getNumField()
          This method returns the number of fields in the schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumField

public int getNumField()
This method returns the number of fields in the schema.

getField

public PubField getField(int field)
This method returns a reference to the object representing an individual field in the schema.

getName

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

getDataset

public PubDataset getDataset()
This method returns a reference to the object representing the dataset to which this schema belongs.