|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
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()
|
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 |
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 |
| Field Detail |
public static final java.lang.String TYPE_BASE
public static final java.lang.String TYPE_DB
public static final java.lang.String TYPE_MINING
| Method Detail |
public BaseAttribute copy()
throws M4Exception
M4Exception
public void addColumn(Column column)
throws M4Exception
M4Exception
public Column createColumn(java.lang.String name)
throws M4Exception
name - name for the Column
M4Exception
public boolean hasColumn(Column col)
throws M4Exception
col - a Column
true if a column with the same ID is already linked to this
BaseAttribute
M4Exception
public boolean hasColumns()
throws M4Exception
true if at least one column is linked to this
BaseAttribute
M4Exception
public boolean removeColumn(Column column)
throws M4Exception
true if removing succeeded
M4Exceptionpublic void setConceptualDataType(long type)
type - The new type.public long getConceptualDataType()
public void setConceptualDataTypeName(java.lang.String dtname)
throws M4Exception
dtname - The new name of the conceptual data type.
M4Exception
public java.lang.String getConceptualDataTypeName()
throws M4Exception
M4Exception
public void setColumns(java.util.Collection theColumns)
throws M4Exception
theColumns - A Collection of Column objects
M4Exception
public java.util.Collection getColumns()
throws M4Exception
M4Exception
public Column getColumn(int index)
throws M4Exception
M4Exception
public Column getCurrentColumn()
throws M4Exception
M4ExceptionConcept
public void setMCFeature(MultiColumnFeature mcf)
throws M4Exception
mcf - The MultiColumnFeature this BaseAttribute belongs to.
M4ExceptionMultiColumnFeaturepublic MultiColumnFeature getMCFeature()
null otherwise.MultiColumnFeaturepublic boolean isRelevant()
public java.lang.String getRelevantS()
String representationpublic void setRelevant(boolean r)
r - The new boolean value of the relevance.public void setRelevantS(java.lang.String r)
r - The value of the relevance in thedatabase String
representationpublic boolean isDBAttrib()
public java.lang.String getDBAttribS()
String representationpublic void setDBAttrib(boolean a)
a - The new boolean value.public void setDBAttribS(java.lang.String attrib)
attrib - The boolean value in its database String representation.
public 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
public void setType(java.lang.String type)
throws M4Exception
M4ExceptionTYPE_BASE,
TYPE_DB,
TYPE_MININGpublic java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||