|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BaseAttribute
| Field Summary | |
|---|---|
static int |
MAX_LENGTH_OF_ATTRIB_NAME
|
static java.lang.String |
TYPE_BASE
Concepts and BaseAttributes of type BASE can be used to define a Conceptual Model. |
static java.lang.String |
TYPE_DB
BaseAttributes of type DB are based directly on a column or a table. |
static java.lang.String |
TYPE_MINING
BaseAttributes that are the result of an operator are of type MINING. |
| Method Summary | |
|---|---|
void |
addColumn(Column column)
Add a column to this BaseAttribute's columns. |
BaseAttribute |
copy()
Makes a copy of this BaseAttribute. |
Column |
createColumn(java.lang.String name)
Create a Column with the given name and add it to this BaseAttribute's columns. |
Column |
getColumn(int index)
Get a specific column that belongs to this BaseAttribute. |
java.util.Collection |
getColumns()
|
long |
getConceptualDataType()
|
java.lang.String |
getConceptualDataTypeName()
|
Column |
getCurrentColumn()
This method replaces "getColumnForColumnSet". |
java.lang.String |
getDBAttribS()
Getter for the DB Attribute property |
MultiColumnFeature |
getMCFeature()
If this BaseAttribute belongs to a MultiColumnFeature, get it here. |
java.lang.String |
getRelevantS()
|
long |
getRole()
|
java.lang.String |
getRoleName()
|
Step |
getStepWhereThisIsOutputBa()
Returns the Step in the Case where this BaseAttribute is created as an output attribute. |
java.lang.String |
getType()
|
boolean |
hasColumn(Column col)
|
boolean |
hasColumns()
|
boolean |
isDBAttrib()
|
boolean |
isDeselected()
|
boolean |
isRelevant()
|
boolean |
removeColumn(Column column)
Remove a column from this BaseAttribute's columns. |
void |
setColumns(java.util.Collection theColumns)
Set all columns of this BaseAttribute. |
void |
setConceptualDataType(long type)
Set the conceptual data type. |
void |
setConceptualDataTypeName(java.lang.String dtname)
Set the name of the conceptual data type. |
void |
setDBAttrib(boolean a)
Setter for DBAttrib. |
void |
setDBAttribS(java.lang.String attrib)
Setter for DBAttrib. |
void |
setMCFeature(MultiColumnFeature mcf)
If this BaseAttribute belongs to a MultiColumnFeature, set it here. |
void |
setRelevant(boolean r)
Set the relevance of this BaseAttribute. |
void |
setRelevantS(java.lang.String r)
Set the relevance of this BaseAttribute. |
void |
setRole(long role)
Set the role. |
void |
setRoleName(java.lang.String rolename)
Set the name of the role. |
void |
setType(java.lang.String type)
The type of the BaseAttribute |
| Methods inherited from interface edu.udo.cs.miningmart.m4.Feature |
|---|
copy, correspondsTo, getConcept, getParameterWhereThisIsOutputFeature, isRelationallyValid, removeLinkToColumns, setConcept |
| Methods inherited from interface edu.udo.cs.miningmart.m4.ParameterObject |
|---|
addParameterReference, getParameterReferences, removeParameterReference |
| Methods inherited from interface edu.udo.cs.miningmart.m4.GraphicalM4Object |
|---|
getPoint, setPoint |
| Methods inherited from interface edu.udo.cs.miningmart.m4.M4Data |
|---|
deleteSoon, getDocumentation, getValidName, isDirty, isWaitingForDelete, setDocumentation |
| Methods inherited from interface edu.udo.cs.miningmart.m4.M4Object |
|---|
doPrint, doPrint, equals, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getCasePrintObject, getId, getM4Db, getM4ObjectFromCache, getName, getNextM4SequenceValue, isNew, load, print, putM4ObjectToCache, replaceSpacesInName, setId, setName, setNotNew |
| Field Detail |
|---|
static final int MAX_LENGTH_OF_ATTRIB_NAME
static final java.lang.String TYPE_BASE
static final java.lang.String TYPE_DB
static final java.lang.String TYPE_MINING
| Method Detail |
|---|
BaseAttribute copy()
throws M4Exception
M4Exception
void addColumn(Column column)
throws M4Exception
c - The new column.
M4Exception
Column createColumn(java.lang.String name)
throws M4Exception
name - name for the Column
M4Exception
boolean hasColumn(Column col)
throws M4Exception
col - a Column
true if a column with the same ID is already linked to this
BaseAttribute
M4Exception
boolean hasColumns()
throws M4Exception
true if at least one column is linked to this
BaseAttribute
M4Exception
boolean removeColumn(Column column)
throws M4Exception
c - The column to remove
true if removing succeeded
M4Exceptionvoid setConceptualDataType(long type)
type - The new type.long getConceptualDataType()
void setConceptualDataTypeName(java.lang.String dtname)
throws M4Exception
dtname - The new name of the conceptual data type.
M4Exception
java.lang.String getConceptualDataTypeName()
throws M4Exception
M4Exceptionvoid setRole(long role)
role - The new role.
long getRole()
throws M4Exception
M4Exception
void setRoleName(java.lang.String rolename)
throws M4Exception
rolename - The new name of the role.
M4Exception
java.lang.String getRoleName()
throws M4Exception
M4Exception
void setColumns(java.util.Collection theColumns)
throws M4Exception
theColumns - A Collection of Column objects
M4Exception
java.util.Collection getColumns()
throws M4Exception
M4Exception
Column getColumn(int index)
throws M4Exception
The - number of the column to be returned.
M4Exception
Column getCurrentColumn()
throws M4Exception
M4ExceptionConcept
Step getStepWhereThisIsOutputBa()
throws M4Exception
M4Exception
void setMCFeature(MultiColumnFeature mcf)
throws M4Exception
mcf - The MultiColumnFeature this BaseAttribute belongs to.
M4ExceptionMultiColumnFeatureMultiColumnFeature getMCFeature()
null otherwise.MultiColumnFeatureboolean isRelevant()
java.lang.String getRelevantS()
String representationvoid setRelevant(boolean r)
r - The new boolean value of the relevance.void setRelevantS(java.lang.String r)
r - The value of the relevance in thedatabase String
representationboolean isDBAttrib()
java.lang.String getDBAttribS()
String representationvoid setDBAttrib(boolean a)
a - The new boolean value.void setDBAttribS(java.lang.String attrib)
attrib - The boolean value in its database String representation.
boolean isDeselected()
throws M4CompilerError
isDeselected in interface Featuretrue iff this BaseAttribute has
been "deselected" by a FeatureSelection operator
or has not been connected by the user.
M4CompilerError
void setType(java.lang.String type)
throws M4Exception
M4ExceptionTYPE_BASE,
TYPE_DB,
TYPE_MININGjava.lang.String getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||