Interface IAttribute
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
ICategoricalAttribute,IMultiLabelAttribute,INumericAttribute,INumericEncodingAttribute,IObjectAttribute<O>,IRankingAttribute<O>,IStringAttribute,ITimeseriesAttribute<Y>
public interface IAttribute extends java.io.SerializableWrapper interface for attribute types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAttributeValuegetAsAttributeValue(java.lang.Object object)java.lang.StringgetName()java.lang.StringgetStringDescriptionOfDomain()booleanisValidValue(java.lang.Object value)Validates whether a value conforms to this type.
-
-
-
Method Detail
-
isValidValue
boolean isValidValue(java.lang.Object value)
Validates whether a value conforms to this type.- Parameters:
value- The value to be validated.- Returns:
- Returns true if the given value conforms
-
getStringDescriptionOfDomain
java.lang.String getStringDescriptionOfDomain()
- Returns:
- A description of the attribute types domain.
-
getName
java.lang.String getName()
- Returns:
- The name of the attribute.
-
getAsAttributeValue
IAttributeValue getAsAttributeValue(java.lang.Object object)
-
-