public final class CategoricalAttribute extends Object
Categorical Attribute.
Modifier and Type | Method and Description |
---|---|
CategoricalValue |
addValue(Object data)
Add a value to a CategoricalAttribute.
|
CategoricalModel |
getModel()
Get the underlying model.
|
Iterable<CategoricalValue> |
getValues()
Get the collection of CategoricalValue.
|
int |
indexOf(CategoricalValue value)
Get the index of a CategoricalValue.
|
int |
size()
Get the number of values.
|
int |
startIndex()
Get the startIndex of this.
|
String |
toString()
Returns a string representation of the object.
|
public CategoricalValue addValue(Object data)
Add a value to a CategoricalAttribute.
data
- the underlying datapublic Iterable<CategoricalValue> getValues()
Get the collection of CategoricalValue.
public int size()
Get the number of values.
public int startIndex()
Get the startIndex of this.
public int indexOf(CategoricalValue value)
Get the index of a CategoricalValue.
value
- the CategoricalValuepublic CategoricalModel getModel()
Get the underlying model.
Copyright © 2010–2016 The Galactic Organization. All rights reserved.