public abstract class Column extends GenericModel
TradeoffAnalytics
column.Modifier and Type | Class and Description |
---|---|
static class |
Column.ColumnType
The Enum ColumnType.
|
static class |
Column.Goal
The Enum Goal.
|
Constructor and Description |
---|
Column(Column.ColumnType type)
Instantiates a new column.
|
Modifier and Type | Method and Description |
---|---|
Column |
fullName(String fullName)
Sets the full name.
|
String |
getDescription()
Gets the description.
|
String |
getFormat()
Gets the format.
|
String |
getFullName()
Gets the full name.
|
Column.Goal |
getGoal()
Gets the goal.
|
Double |
getInsignificantLoss()
Gets the insignificant loss.
|
String |
getKey()
Gets the key.
|
Double |
getSignificantGain()
Gets the significant gain.
|
Double |
getSignificantLoss()
Gets the significant loss.
|
Column.ColumnType |
getType()
Gets the type.
|
Column |
goal(Column.Goal goal)
Sets the goal.
|
Boolean |
isObjective()
Checks if is objective.
|
Column |
key(String key)
Sets the key.
|
Column |
objective(boolean objective)
Sets is objective.
|
void |
setDescription(String description)
Sets the description.
|
void |
setFormat(String format)
Sets the format.
|
void |
setFullName(String fullName)
Sets the full name.
|
void |
setGoal(Column.Goal goal)
Sets the goal.
|
void |
setInsignificantLoss(Double insignificantLoss)
Sets the insignificant loss.
|
void |
setKey(String key)
Sets the key.
|
void |
setObjective(boolean objective)
Sets the checks if is objective.
|
void |
setSignificantGain(Double significantGain)
Sets the significant gain.
|
void |
setSignificantLoss(Double significantLoss)
Sets the significant loss.
|
protected void |
setType(Column.ColumnType type)
Sets the type.
|
equals, hashCode, toString
public Column(Column.ColumnType type)
type
- the typeprotected void setType(Column.ColumnType type)
type
- The typepublic Column fullName(String fullName)
fullName
- the full namepublic String getDescription()
public String getFormat()
public String getFullName()
public Column.Goal getGoal()
public Double getInsignificantLoss()
public String getKey()
public Double getSignificantGain()
public Double getSignificantLoss()
public Column.ColumnType getType()
public Column goal(Column.Goal goal)
goal
- the goalpublic Boolean isObjective()
public Column objective(boolean objective)
objective
- the is objectivepublic void setDescription(String description)
description
- the new descriptionpublic void setFormat(String format)
format
- the new formatpublic void setFullName(String fullName)
fullName
- The full_namepublic void setGoal(Column.Goal goal)
goal
- The goalpublic void setInsignificantLoss(Double insignificantLoss)
insignificantLoss
- the new insignificant losspublic void setKey(String key)
key
- The keypublic void setObjective(boolean objective)
objective
- The is_objectivepublic void setSignificantGain(Double significantGain)
significantGain
- the new significant gainpublic void setSignificantLoss(Double significantLoss)
significantLoss
- the new significant lossCopyright © 2015–2016 IBM Watson. All rights reserved.