org.ipdr.common
Class FNFData

java.lang.Object
  extended by org.ipdr.common.CompositeData
      extended by org.ipdr.common.FNFData

public class FNFData
extends CompositeData

This class represents a First Normal Form collection of data. The data is built from the basic data types as outlined in the Java Management Extensions (JMX) 1.0 Specification Chapter 3, OpenMBeans.

All properties of this object are inherited from the parent type CompositeData, the only difference is that only FNFType type descriptions are allowed.


Field Summary
 
Fields inherited from class org.ipdr.common.CompositeData
fields_, type_
 
Constructor Summary
FNFData(java.lang.Object[] fields, FNFType type)
          Builds a composite type from the supplied array of objects and the type specifier.
 
Method Summary
static void main(java.lang.String[] args)
          Simple demonstration entry point.
 
Methods inherited from class org.ipdr.common.CompositeData
assertCompositeType, assertObject, assertOpenType, getField, getField, getType, setField, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FNFData

public FNFData(java.lang.Object[] fields,
               FNFType type)
        throws BadCompositeException,
               IPDRException
Builds a composite type from the supplied array of objects and the type specifier. The two must be in agreement.

Parameters:
fields - Object Array
type - Object of FNFType
Throws:
BadCompositeException - when a Composite Type is one of the FNF array objects and when the type code does not match
IPDRException - when a IPDR functionality related exception occurs
Method Detail

main

public static void main(java.lang.String[] args)
Simple demonstration entry point. Creates a CompositeData with all of the basic types. Then it invokes toString() method on constructed type to display.