@Entity public class ColumnPrototype extends Object
Represents the concept of "attribute of an entity" :
ChartDefinition (the "Prototype" part)Taxonomy : ColumnPrototypes comes in three varieties :
Usage : A ColumnPrototype may be specialized to assume on of the three ColumnRoles : it can be filtered on, or it can hold the
observable value displayed in the chart, or be an axis of this chart. See Filter, AxisColumn, MeasureColumn
No user shall create them: only the system can do that. Typically prototypes will be inserted or removed when custom fields are bound to/ unbound from entities.
| Modifier | Constructor and Description |
|---|---|
protected |
ColumnPrototype() |
|
ColumnPrototype(String label,
SpecializedEntityType specializedType,
DataType dataType,
ColumnType columnType,
ChartQuery subQuery,
String attributeName,
boolean business,
Set<ColumnRole> role) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName() |
ColumnType |
getColumnType() |
DataType |
getDataType() |
SpecializedEntityType.EntityRole |
getEntityRole() |
EntityType |
getEntityType() |
Long |
getId() |
String |
getLabel() |
EnumSet<ColumnRole> |
getRole() |
SpecializedEntityType |
getSpecializedType() |
ChartQuery |
getSubQuery()
May be null : ColumnPrototypes having
ColumnType.ATTRIBUTE have no subqueries for instance. |
boolean |
isBusiness() |
void |
setAttributeName(String attributeName) |
void |
setLabel(String label) |
protected ColumnPrototype()
public ColumnPrototype(String label, SpecializedEntityType specializedType, DataType dataType, ColumnType columnType, ChartQuery subQuery, String attributeName, boolean business, Set<ColumnRole> role)
public Long getId()
public ColumnType getColumnType()
public String getAttributeName()
public String getLabel()
public EntityType getEntityType()
public SpecializedEntityType getSpecializedType()
public SpecializedEntityType.EntityRole getEntityRole()
public DataType getDataType()
public EnumSet<ColumnRole> getRole()
public ChartQuery getSubQuery()
ColumnType.ATTRIBUTE have no subqueries for instance.public boolean isBusiness()
public void setLabel(String label)
public void setAttributeName(String attributeName)
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.