jpa.p1.sub
Class SubSchema

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

public class SubSchema
extends java.lang.Object

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


Method Summary
protected  void finalize()
           
 SubDataset getDataset()
          This method returns a reference to the object representing the dataset to which this schema belongs.
 SubField 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, 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

getNumField

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

getField

public SubField 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 SubDataset getDataset()
This method returns a reference to the object representing the dataset to which this schema belongs.