com.phoenix_int.aserver.types
Class PHXGeometry

java.lang.Object
  extended by com.phoenix_int.aserver.types.PHXSimpleType
      extended by com.phoenix_int.aserver.types.PHXGeometry
All Implemented Interfaces:
IPHXType, IPHXType2, IPHXUnits

public class PHXGeometry
extends PHXSimpleType

The Phoenix type for geometry. This class has the following properties:

If the variable has an upper or lower bound and an attempt is made to store an invalid value, then an exception will be thrown.

See Also:
PHXSimpleType

Constructor Summary
PHXGeometry()
           
 
Method Summary
 void fromString(java.lang.String value)
          converts a String representation to the internal value
 void fromString2(PHXStringBuffer value)
          converts a PHXStringBuffer representation to the internal value
 java.lang.String getData()
          retrieves the current value for the geometry data
 java.lang.String getDescription()
          retrieves the description of the variable
 java.lang.String getFormat()
          retrieves the format for the geometry data
 void setData(java.lang.String d)
          sets the value for the variable
 void setDescription(java.lang.String d)
          sets the description for the variable.
 void setFormat(java.lang.String d)
          sets the format for the variable.
 java.lang.String toString()
          converts the variable to a string
 PHXStringBuffer toString2()
          converts the variable to a PHXStringBuffer
 
Methods inherited from class com.phoenix_int.aserver.types.PHXSimpleType
addPropertyChangeListener, getEnumTokens, getHasChanged, getUnits, removePropertyChangeListener, setHasChanged, setUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PHXGeometry

public PHXGeometry()
Method Detail

getData

public java.lang.String getData()
retrieves the current value for the geometry data

Returns:
the geometry data

setData

public void setData(java.lang.String d)
sets the value for the variable

Parameters:
v - the value

getFormat

public java.lang.String getFormat()
retrieves the format for the geometry data

Returns:
the format of the geometry data

setFormat

public void setFormat(java.lang.String d)
sets the format for the variable. The format is a String description of the representation of the data - specifying a new format only stores a new value for the format

Parameters:
v - the value

getDescription

public java.lang.String getDescription()
retrieves the description of the variable

Overrides:
getDescription in class PHXSimpleType
Returns:
a description geometry data

setDescription

public void setDescription(java.lang.String d)
sets the description for the variable. This should be a short, one-line description.

Overrides:
setDescription in class PHXSimpleType
Parameters:
d - the description

toString2

public PHXStringBuffer toString2()
converts the variable to a PHXStringBuffer

Returns:
a PHXStringBuffer representation of the variable

toString

public java.lang.String toString()
converts the variable to a string

Specified by:
toString in interface IPHXType
Overrides:
toString in class java.lang.Object
Returns:
a String representation of the variable

fromString2

public void fromString2(PHXStringBuffer value)
converts a PHXStringBuffer representation to the internal value

Parameters:
value - the value to convert

fromString

public void fromString(java.lang.String value)
converts a String representation to the internal value

Parameters:
value - the value to convert