This class is in org.jtrix.facets1.util.properties.
The Property class supports several types of particular importance to Jtrix. They are: AuditID, BigInteger, boolean, byte[], EndPointAddress, JarURI, InetAddress, int, long, NetletDescriptor, Object, Oid, PassiveURL, String, Warrant, X500DN.
Some sample Property work:
Property p = new Property((int) 1234);
if ( p.getType().equals(Property.WARRANT) )
{
    // Something has gone horribly wrong!
}
else if ( p.getType().equals(Property.INT) )
{
    // We will get here
}
if ( p.getType() == Property.INT )
{
    // We will also get here. Double-equals works on getType()
}
// This next line will throw a ClassCastException if p is not an int.
int orig = p.toInt();
The getType() method returns a Property.PropertyType object which can be tested with the usual equals method or with ==.
A Property is sometimes referred to as ``typed data''.
Nik Silver 2002-03-09