com.sun.jaw.reference.common
Class Property
java.lang.Object
|
+--com.sun.jaw.reference.common.Property
- public class Property
- extends java.lang.Object
- implements java.io.Serializable
This class is used to represent a property and its associated value.
- See Also:
PropertyList
, Serialized Form
Constructor Summary |
Property(java.lang.String property,
java.lang.Object value)
Allows a non-indexed property to be created. |
Property(java.lang.String property,
java.lang.Object value,
int position)
Allows an indexed property to be created. |
Method Summary |
int |
getPosition()
Returns the position. |
java.lang.String |
getProperty()
Returns the property. |
java.lang.Object |
getValue()
Returns the value. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Property
public Property(java.lang.String property,
java.lang.Object value)
- Allows a non-indexed property to be created.
- Parameters:
property
- The property to be created.value
- The value assigned to the property.
Property
public Property(java.lang.String property,
java.lang.Object value,
int position)
- Allows an indexed property to be created.
- Parameters:
property
- The property to be created.value
- The value assigned to the property.position
- The position of the property in the index.
getProperty
public java.lang.String getProperty()
- Returns the property.
getPosition
public int getPosition()
- Returns the position.
getValue
public java.lang.Object getValue()
- Returns the value.