|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.AbstractProperty
| Constructor Summary | |
AbstractProperty(java.lang.String name,
java.lang.Class dataType,
java.lang.String propertyType,
java.lang.String propertySubType)
AbstractProperty constructor. |
|
AbstractProperty(java.lang.String name,
java.lang.String dataType,
java.lang.String propertyType,
java.lang.String propertySubType)
AbstractProperty constructor. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compares two properties to determine there order based on the alphabetical order of the property name. |
boolean |
equals(java.lang.Object obj)
This method made final to prevent overriding Object.equals. |
java.lang.Class |
getDataType()
Returns the data type of this property |
java.lang.String |
getName()
Returns the name of this property |
java.lang.String |
getSubType()
Get subtype of this property. |
java.lang.String |
getType()
Get type of this property. |
int |
hashCode()
This method made final to prevent overriding Object.hashCode. |
java.lang.String |
toString()
Returns string representation of this property. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractProperty(java.lang.String name,
java.lang.String dataType,
java.lang.String propertyType,
java.lang.String propertySubType)
name - property namedataType - data type of this property (class name)propertyType - property typepropertySubType - property subtype
public AbstractProperty(java.lang.String name,
java.lang.Class dataType,
java.lang.String propertyType,
java.lang.String propertySubType)
name - property namedataType - data type of this property (class)propertyType - property typepropertySubType - property subtype| Method Detail |
public java.lang.String toString()
public java.lang.Class getDataType()
getDataType in interface Propertypublic java.lang.String getName()
getName in interface Propertypublic final boolean equals(java.lang.Object obj)
public final int hashCode()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the object to be compared
java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this Object.public java.lang.String getType()
getType in interface Propertypublic java.lang.String getSubType()
getSubType in interface Property
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||