public interface IAttribute
Dataset Attributes.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Access to the attribute name
|
AttributeType |
getType()
Access to the attribute type
|
boolean |
isValid(double internalValue)
Check if this internal attribute value is valid
|
boolean |
isValid(java.lang.Object externalValue)
Check if this external attribute value is valid
|
double |
parse(java.lang.String externalValue)
Parse an external value to obtain the internal value of the
Attribute
|
java.lang.String |
show(double internalValue)
Show an String which represents a given real value
|
java.lang.String getName()
Access to the attribute name
AttributeType getType()
Access to the attribute type
boolean isValid(double internalValue)
Check if this internal attribute value is valid
internalValue
- value to check
boolean isValid(java.lang.Object externalValue)
Check if this external attribute value is valid
externalValue
- Value to checkjava.lang.String show(double internalValue)
Show an String which represents a given real value
internalValue
- internal value asked.double parse(java.lang.String externalValue)
Parse an external value to obtain the internal value of the Attribute
externalValue
- external value to parse