property = index;
}
+ /**
+ * @return type field of the <tt>PropertyValue</tt>.
+ */
+ public int getType() {
+ return type;
+ }
+
/**
* In some circumstances, the property against which a type is to be
* validated may not be the same as the property against which this
* @version $Revision$ $Name$
*/
/**
- * Base class for all property value types.
+ * Base interface for all property value types.
*/
public interface PropertyValue {
public int getProperty();
public void setProperty(int index) throws PropertyException;
+ /**
+ * @return type field of the <tt>PropertyValue</tt>.
+ */
+ public int getType();
+
/**
* In some circumstances, the property against which a type is to be
* validated may not be the same as the property against which this
property = index;
}
+ /**
+ * @return type field of the <tt>PropertyValue</tt>.
+ */
+ public int getType() {
+ return type;
+ }
+
/**
* In some circumstances, the property against which a type is to be
* validated may not be the same as the property against which this