Library | Package Java Toolkit

Class ExternalData

package com.ptc.pfc.pfcExternal;

public class ExternalData
  implements jxobject



Description

A union class that represents a single data value that may be stored in external data. The type of the value is identified by the dicsriminator.

Identifies the data type (String, Double or Integer).



Method Summary
ExternalDataTypeGetdiscr ()
    Returns the union discriminant value.

doubleGetDoubleValue ()
    Get method for attribute "DoubleValue"
    The double value.
intGetIntegerValue ()
    Get method for attribute "IntegerValue"
    The integer value.
StringGetStringValue ()
    Get method for attribute "StringValue"
    The string value.
voidSetDoubleValue (double value)
    Set method for attribute "DoubleValue"
    The double value.
voidSetIntegerValue (int value)
    Set method for attribute "IntegerValue"
    The integer value.
voidSetStringValue (String value)
    Set method for attribute "StringValue"
    The string value.

Method Detail

Getdiscr

ExternalDataTypeGetdiscr ()


    Returns the union discriminant value.



GetIntegerValue/SetIntegerValue

intGetIntegerValue ()
voidSetIntegerValue (int value)


    The integer value.

Exceptions thrown (but not limited to):

XBadGetExternalData - Data is not an integer


Manual References:
External Data: Retrieving External Data, External Data: Retrieving External Data



GetDoubleValue/SetDoubleValue

doubleGetDoubleValue ()
voidSetDoubleValue (double value)


    The double value.

Exceptions thrown (but not limited to):

XBadGetExternalData - Data is not double


Manual References:
External Data: Retrieving External Data, External Data: Retrieving External Data



GetStringValue/SetStringValue

StringGetStringValue ()
voidSetStringValue (String value)


    The string value.

Exceptions thrown (but not limited to):

XBadGetExternalData - Data is not string


Manual References:
External Data: Retrieving External Data