org.ipdr.common
Class FNFData
java.lang.Object
org.ipdr.common.CompositeData
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 Arraytype
- 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
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.