Skip to main content
Package: com.phoenix_int.aserver Class Hierarchy
Declaration
A utility class used by PHXSimpleSelfManager, PHXSimpleSelfManager2, and PHXSimpleSelfManager3 to indicate which properties it manages.

Constructor Summary

Method Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait

Constructor Detail

PHXPropertyDescriptor

Creates a property descriptor with all values set to “unknown”.

PHXPropertyDescriptor

Parameters:
  • prop - the PropertyDescriptor

PHXPropertyDescriptor

Parameters:
  • name - the name of the property
  • type - the property type
  • canGet - true if the property is readable
  • canSet - true if the property is writeable

PHXPropertyDescriptor

Parameters:
  • name - the name of the property
  • object - the property
  • canGet - true if the property is readable
  • canSet - true if the property is writeable

PHXPropertyDescriptor

Parameters:
  • prop - the PropertyDescriptor
  • parent - the parent object - used to retrieve the actual object for prop if prop is an array (so that the array length can be determined). May be null.
Throws:
  • java.lang.IllegalArgumentException

Method Detail

getCanGet

Determines if the property can be retrieved. Returns:
  • true if the property can be retrieved

setCanGet

Sets whether the property can be retrieved. Parameters:
  • flag - true if the property can be retrieved

getCanSet

Determines if the property can be modified. Returns:
  • true if the property can be modified

setCanSet

Sets whether the property can be modified. Parameters:
  • flag - true if the property can be modified

getName

Retrieves the property name. Returns:
  • the name of the property

getType

Retrieves the type of the property as a string. Returns:
  • the type of the property as a String

getTypeClass

Retrieves the type of the property as a Class object. Returns:
  • the type of the property as a Class object

getValue

getValue2

Throws:
  • java.io.IOException

getValue3

Throws:
  • java.io.IOException

getSource

toString

Converts the property to a readable format. Overrides:
  • toString in class java.lang.Object
Returns:
  • the property in String format

asValueDescriptor

Converts the property to a machine-readable format. Returns:
  • the property in String format

asValueDescriptor2

Converts the property to a readable format. Returns a util/PHXStringBuffer for performance. Parameters:
  • out - a buffer for the method to use to store the property in String format
Throws:
  • java.io.IOException

asValueDescriptor3

Converts the property to a readable format. Returns a util/PHXStringBuffer for performance. Parameters:
  • out - a buffer for the method to use to store the property in String format
Throws:
  • java.io.IOException

asPropertyDescriptor

Stringify the property descriptor data. Parameters:
  • out - the buffer to write to
  • name - the property name
  • type - the property type
  • canSet - whether the property can be set
  • canGet - whether the property can be read

asValueDescriptor

Stringify the value descriptor data. Parameters:
  • out - the buffer to write to
  • name - the property name
  • type - the property type
  • canSet - whether the property can be set
  • canGet - whether the property can be read
  • value - the value to write