public class TDataProperty extends java.lang.Object implements java.lang.Comparable<TDataProperty>
| Constructor and Description |
|---|
TDataProperty(java.lang.String name,
DataType range)
CONSTRUCTOR : initiate a new TDataProperty
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TDataProperty o)
Compare a TDataProperty with another TData property
This comparison is base on the lexical order of the name |
java.lang.String |
getName()
GETTER: name
|
DataType |
getRange()
GETTER: range
|
public TDataProperty(java.lang.String name,
DataType range)
name - the name of the propertyrange - the type of the propertypublic java.lang.String getName()
namepublic int compareTo(TDataProperty o)
compareTo in interface java.lang.Comparable<TDataProperty>o - another TDataPropertyname