public abstract class Column extends GenericModel
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 |
---|---|
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.
|
Boolean |
isObjective()
Checks if 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.
|
Column |
withFullName(String fullName)
With full name.
|
Column |
withGoal(Column.Goal goal)
With goal.
|
Column |
withKey(String key)
With key.
|
Column |
withObjective(boolean objective)
With is objective.
|
equals, hashCode, toString
public Column(Column.ColumnType type)
type
- the typepublic 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 Boolean isObjective()
public 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 lossprotected void setType(Column.ColumnType type)
type
- The typepublic Column withFullName(String fullName)
fullName
- the full namepublic Column withGoal(Column.Goal goal)
goal
- the goalpublic Column withObjective(boolean objective)
objective
- the is objectiveCopyright © 2015–2016. All rights reserved.