|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phoenix_int.aserver.PHXPropertyDescriptor
public class PHXPropertyDescriptor
A utility class used by PHXSelfManager to indicate which properties it manages.
| Constructor Summary | |
|---|---|
PHXPropertyDescriptor()
creates a property descriptor with all values set to "unknown" |
|
PHXPropertyDescriptor(java.beans.PropertyDescriptor prop)
|
|
PHXPropertyDescriptor(java.beans.PropertyDescriptor prop,
java.lang.Object parent)
|
|
PHXPropertyDescriptor(java.lang.String name,
java.lang.Object object,
boolean canSet,
boolean canGet)
|
|
PHXPropertyDescriptor(java.lang.String name,
java.lang.String type,
boolean canSet,
boolean canGet)
|
|
| Method Summary | |
|---|---|
static void |
asPropertyDescriptor(java.lang.StringBuffer out,
java.lang.String name,
java.lang.String type,
boolean canSet,
boolean canGet)
|
java.lang.String |
asValueDescriptor()
converts the property to a readable format |
static void |
asValueDescriptor(java.lang.StringBuffer out,
java.lang.String name,
java.lang.String type,
boolean canSet,
boolean canGet,
java.lang.String value)
|
void |
asValueDescriptor2(PHXStringBuffer out)
converts the property to a readable format. |
void |
asValueDescriptor3(PHXStringBuffer out)
converts the property to a readable format. |
boolean |
getCanGet()
determines if the property can be retrieved |
boolean |
getCanSet()
determines if the property can be modified |
java.lang.String |
getName()
retrieves the property name |
java.lang.Object |
getSource()
|
java.lang.String |
getType()
retrieves the type of the property as a string |
java.lang.Class |
getTypeClass()
retrieves the type of the property as a Class object. |
java.lang.String |
getValue()
|
PHXStringBuffer |
getValue2()
|
PHXStringBuffer |
getValue3()
|
void |
setCanGet(boolean flag)
sets whether the property can be retrieved |
void |
setCanSet(boolean flag)
sets whether the property can be modified |
java.lang.String |
toString()
converts the property to a readable format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PHXPropertyDescriptor()
public PHXPropertyDescriptor(java.beans.PropertyDescriptor prop)
prop - the PropertyDescriptor
public PHXPropertyDescriptor(java.lang.String name,
java.lang.String type,
boolean canSet,
boolean canGet)
name - the name of the propertytype - the property typecanGet - true if the property is readablecanSet - true if the property is writeable
public PHXPropertyDescriptor(java.lang.String name,
java.lang.Object object,
boolean canSet,
boolean canGet)
name - the name of the propertyobject - the propertycanGet - true if the property is readablecanSet - true if the property is writeable
public PHXPropertyDescriptor(java.beans.PropertyDescriptor prop,
java.lang.Object parent)
throws java.lang.IllegalArgumentException
prop - the PropertyDescriptorparent - 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.
java.lang.IllegalArgumentException| Method Detail |
|---|
public boolean getCanGet()
public void setCanGet(boolean flag)
flag - true if the property can be retrievedpublic boolean getCanSet()
public void setCanSet(boolean flag)
flag - true if the property can be modifiedpublic java.lang.String getName()
public java.lang.String getType()
public java.lang.Class getTypeClass()
public java.lang.String getValue()
public PHXStringBuffer getValue2()
throws java.io.IOException
java.io.IOException
public PHXStringBuffer getValue3()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object getSource()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String asValueDescriptor()
public void asValueDescriptor2(PHXStringBuffer out)
throws java.io.IOException
java.io.IOException
public void asValueDescriptor3(PHXStringBuffer out)
throws java.io.IOException
java.io.IOException
public static void asPropertyDescriptor(java.lang.StringBuffer out,
java.lang.String name,
java.lang.String type,
boolean canSet,
boolean canGet)
public static void asValueDescriptor(java.lang.StringBuffer out,
java.lang.String name,
java.lang.String type,
boolean canSet,
boolean canGet,
java.lang.String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||