|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.data.DataColumnDomainCreator
public class DataColumnDomainCreator
A column domain creator is used to initialize possible values and lower and
upper bounds using DataCell
objects.
DataColumnDomain
,
createDomain()
Constructor Summary | |
---|---|
DataColumnDomainCreator()
Creates a new domain creator with no meta-info defined. |
|
DataColumnDomainCreator(DataCell[] values)
Creates a new domain creator with the given array of values. |
|
DataColumnDomainCreator(DataCell[] values,
DataCell lowerBound,
DataCell upperBound)
Creates a new domain creator with an array of possible values, and a lower and upper bound. |
|
DataColumnDomainCreator(DataCell lowerBound,
DataCell upperBound)
Creates a new domain creator with the given lower and upper bound. |
|
DataColumnDomainCreator(DataColumnDomain copyFrom)
Creates a new domain creator by copying the information from an other column domain. |
|
DataColumnDomainCreator(Set<DataCell> values)
Creates a new domain creator with a Set of possible values. |
|
DataColumnDomainCreator(Set<DataCell> values,
DataCell lowerBound,
DataCell upperBound)
Creates a new domain creator with a Set of possible values, and a
lower and upper bound. |
Method Summary | |
---|---|
DataColumnDomain |
createDomain()
Creates a read-only DataColumnDomain based on the internal
values. |
void |
setLowerBound(DataCell lower)
Sets a (new) lower bound which can be null . |
void |
setUpperBound(DataCell upper)
Sets (new) upper bound which can be null . |
void |
setValues(Set<DataCell> values)
Sets a (new) Set of possible values which can be
null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataColumnDomainCreator(DataColumnDomain copyFrom)
copyFrom
- the column domain to copy frompublic DataColumnDomainCreator()
public DataColumnDomainCreator(Set<DataCell> values)
Set
of possible values.
values
- the Set
of possible values (can be
null
)public DataColumnDomainCreator(DataCell[] values)
values
- the array can be null, whereas null elements are ignoredpublic DataColumnDomainCreator(DataCell lowerBound, DataCell upperBound)
lowerBound
- the lower bound (can be null
)upperBound
- the upper bound (can be null
)public DataColumnDomainCreator(DataCell[] values, DataCell lowerBound, DataCell upperBound)
lowerBound
- the lower boundupperBound
- the upper boundvalues
- the array of possible valuespublic DataColumnDomainCreator(Set<DataCell> values, DataCell lowerBound, DataCell upperBound)
Set
of possible values, and a
lower and upper bound. All parameters can be null
.
values
- the Set of possible valueslowerBound
- the lower boundupperBound
- the upper boundMethod Detail |
---|
public DataColumnDomain createDomain()
DataColumnDomain
based on the internal
values.
DataColumnDomain
public void setValues(Set<DataCell> values)
Set
of possible values which can be
null
. The values are copied into a unmodifiable set.
values
- Set
of possible values as DataCell
objectspublic void setLowerBound(DataCell lower)
null
.
lower
- the (new) lower boundpublic void setUpperBound(DataCell upper)
null
.
upper
- the (new) upper bound
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |