|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.miningmart.m4.core.M4Object
edu.udo.cs.miningmart.m4.core.M4Data
edu.udo.cs.miningmart.m4.core.GraphicalM4Object
edu.udo.cs.miningmart.m4.core.ParameterObject
edu.udo.cs.miningmart.m4.core.Concept
public class Concept
This class represents an M4 Concept.
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIB_CASE_ID
DB level: The attribute storing the concepts' case IDs. |
static java.lang.String |
ATTRIB_CONCEPT_ID
DB level: The attribute storing the concept IDs. |
static java.lang.String |
ATTRIB_CONCEPT_NAME
DB level: The attribute storing the concept names. |
static java.lang.String |
ATTRIB_CONCEPT_TYPE
DB level: The attribute storing the concept type. |
static java.lang.String |
M4_TABLE_NAME
The M4 table name storing concept information. |
static M4Info |
m4Info
Cache for getM4Info() |
| Fields inherited from class edu.udo.cs.miningmart.m4.core.GraphicalM4Object |
|---|
graph2coord |
| Fields inherited from class edu.udo.cs.miningmart.m4.core.M4Data |
|---|
myDocumentation |
| Fields inherited from class edu.udo.cs.miningmart.m4.core.M4Object |
|---|
myId, myName |
| Fields inherited from interface edu.udo.cs.miningmart.m4.utils.XmlInfo |
|---|
M4_XML_VERSION, TAG_COLLECTION, TAG_DOUBLE, TAG_INTEGER, TAG_LONG, TAG_M4_ID, TAG_SHORT, TAG_STRING, TAG_XML_ID |
| Fields inherited from interface edu.udo.cs.miningmart.m4.Concept |
|---|
TYPE_BASE, TYPE_DB, TYPE_MINING |
| Fields inherited from interface edu.udo.cs.miningmart.m4.utils.M4Table |
|---|
NOT_NULL |
| Constructor Summary | |
|---|---|
Concept(DB m4Db)
|
|
| Method Summary | |
|---|---|
void |
addColumnSet(Columnset cs)
Add a columnset to this concept's columnsets. |
void |
addFeature(Feature f)
Add a Feature (a BaseAttribute or a MultiColumnFeature) to this concept. |
void |
addFromProjection(Projection projection)
Adds a From-Projection. |
protected void |
addFromRelationship(Relation newRel)
Adds the given Relation to the fromRelationships of this concept. |
void |
addSubConcept(Concept newSubConcept)
Adds a Sub Concept. |
void |
addSuperConcept(Concept newSuperConcept)
Adds a Super Concept and check for cycles in the inheritance graph. |
void |
addToProjection(Projection projection)
Adds a To-Projection. |
protected void |
addToRelationship(Relation newRel)
Adds the given Relation to the toRelationships of this concept. |
java.lang.String |
canFeatureBeRemoved(Feature theFeature)
This method attempts to find invalidities of Steps that would result from removing the given Feature from this Concept. |
void |
clearEstimations()
This method can be used to ensure that the method 'getEstimatedStatistics' updates the estimations. |
void |
connect(java.lang.String nameOfDbObject,
boolean isTable,
java.util.Map columnNamesForAttribs)
This method connects this Concept to a DB object, either a table or view, by creating a Columnset and Columns for the DB object and connecting this Concept's BaseAttributes to the Columns according to the information in the given Map. |
Concept |
copy(Case newCase)
Make a copy of this Concept that is attached to the given Case. |
BaseAttribute |
createBaseAttribute(java.lang.String name,
java.lang.String datatype,
java.lang.String attributeType,
java.lang.String roleName)
Creates a BaseAttribute that is connected to this Concept. |
Columnset |
createColumnset(java.lang.String name,
java.lang.String schema,
java.lang.String type)
Creates a new ColumnSet that is connected to this Concept. |
Relation |
createFromConceptRelation(java.lang.String name,
Concept toConcept)
Creates a new Relationship to which this Concept is connected as FromConcept. |
MultiColumnFeature |
createMultiColumnFeature(java.lang.String name)
Creates a new MultiColumnFeature that is connected to this Concept. |
PrimaryKey |
createPrimaryKey(java.util.Collection keyAttribs)
Creates a PrimaryKey for the Columnset of this Concept. |
Projection |
createProjectionToConcept(Concept toConcept,
java.lang.String nameOfProjection)
Create a new Projection from this concept to the given concept. |
void |
deleteSoon()
Overwrites the superclass method because the columnsets and Features that belong to this concept must be deleted, too. |
java.util.Collection |
getAllBaseAttributes()
Returns ALL BaseAttributes of this Concept, including those that directly belong to a MultiColumnFeature that belongs to this Concept, but do not belong directly to this concept. |
java.util.Collection |
getAllMultiColumnFeatures()
|
java.util.Collection |
getBaseAttribsNotInMcf()
Returns ONLY those BaseAttributes of this Concept that do not belong to a MultiColumnFeature. |
BaseAttribute |
getBaseAttribute(Column theColumn)
Returns the BaseAttribute of this Concept that is connected to the given Column, if it exists. |
BaseAttribute |
getBaseAttribute(java.lang.String name)
|
java.util.Collection |
getBaseAttributesVisible(Step stepWhereVisible)
Returns only those BaseAttributes of this Concept that are visible at the given Step. |
Columnset |
getColumnset(java.lang.String name)
|
Columnset |
getColumnSetByBranch(java.lang.String multiStepBranch)
|
java.util.Collection |
getColumnSets()
|
java.util.Collection |
getConceptInheritanceAsSubConcept()
Returns the Collection of ConceptInheritance objects with this Concept as a Sub-Concept |
java.util.Collection |
getConceptInheritanceAsSuperConcept()
Returns the Collection of ConceptInheritance objects with this Concept as a Super-Concept |
Columnset |
getCurrentColumnSet()
This method returns a specific columnset: in a compilation where multistep operators have occured, there can be more than one columnset for an input concept. |
java.lang.String |
getCurrentSuffix()
This method returns a suffix for the current Columnset. |
java.util.Collection |
getDependentObjects()
This method is part of the XML-serialization and needs to be implemented by all M4Data sub-classes that need to be serialized. |
EstimatedStatistics |
getEstimatedStatistics(Step visibleHere)
Estimate the statistics for this concept and for all its attributes that are visible at the given step. |
Feature |
getFeature(int index)
Get a specific Feature by number. |
Feature |
getFeature(java.lang.String name)
Get a specific Feature by name |
java.lang.String |
getFeatureNames()
Returns a String with comma-separated names of the Features of this Concept. |
java.util.Collection |
getFeatures()
|
protected java.util.Collection |
getGraphicallyEmbeddedObjects()
|
java.lang.String |
getIdAttributeName()
|
M4Info |
getM4Info()
|
java.lang.String |
getM4TableName()
|
MultiColumnFeature |
getMultiColumnFeature(java.lang.String name)
|
Columnset |
getNextColumnSet()
In case of multi step support this method returns the next column set after the current one and increases the internal pointer accordingly. |
int |
getNumberOfFeatures()
Returns the number of features that this Concept has. |
protected java.util.Collection |
getObjectsInNamespace(java.lang.Class typeOfObjects)
This method returns the objects of the specified type that form a namespace in the scope of this M4Data object. |
Parameter |
getParameterWhereThisIsOutputConcept()
Return the Parameter object that represents this concept as an output concept parameter (of a certain step). |
PrimaryKey |
getPrimaryKey()
Returns the PrimaryKey of the Columnset of this Concept. |
java.util.Collection |
getProjectionsAsFromConcept()
Returns the From-Projections. |
java.util.Collection |
getProjectionsAsToConcept()
Returns the To-Projections. |
Relation |
getRelationshipFromConcept(Concept fromConcept)
Returns a Relation with this concept as the ToConcept and the given concept as the FromConcept, if such a Relation exists, and NULL otherwise. |
Relation |
getRelationshipToConcept(Concept toConcept)
Returns a Relation with this concept as the FromConcept and the given concept as the ToConcept, if such a Relation exists, and NULL otherwise. |
java.util.Collection |
getStepsWhereThisIsInputConcept()
Returns all Steps in the Case that use this Concept as an input concept. |
Step |
getStepWhereThisIsOutputConcept()
Returns the Step in the Case where this Concept is created as the output concept. |
java.util.Collection |
getSubConcepts()
This method gets the set of all sub concepts |
java.util.Collection |
getSuperConcepts()
This method gets the set of all super concepts |
Case |
getTheCase()
Getter method. |
Concept |
getTheFromProjection()
|
java.util.Collection |
getTheFromRelationships()
Returns a Collection of Relations in which this concept is the FromConcept. |
Concept |
getTheSuperConcept()
Usually there is only one Super Concept. |
java.util.Collection |
getTheToRelationships()
Returns a Collection of Relations in which this concept is the ToConcept. |
java.lang.String |
getType()
Getter method. |
M4Info |
getXmlInfo()
|
boolean |
hasColumnset(Columnset cs)
|
protected boolean |
hasCoordinates()
Concepts have coordinates. |
boolean |
hasFeature(Feature f)
|
boolean |
hasMoreThanOneRelation()
Returns true iff this concept is involved, either as From-Concept or as To-Concept, in more than one relation. |
boolean |
hasNextColumnSet()
In case of multi step support this method answers the question if getNextColumnSet() will succeed. |
void |
initMultiStepSupport(java.util.Collection columnsets)
This method is invoked to initialize the support for concepts referring to multiple column sets (multi steps). |
boolean |
isRelationallyValid()
This method returns information about the relational validity of the object. |
boolean |
isValidSubconcept(Concept potentialSubConcept)
Checks wether the given concept has the same features as this one (correspondence of features is by name). |
void |
primitiveSetCase(Case ca)
Primitive setter method. |
void |
print()
Print this M4 object's parameters. |
void |
propagateChangesToDependingConcepts(Feature changedFeature,
java.lang.String previousNameOfFeature)
When this Concept has changed its Features, depending concepts of later steps can be adapted with this method. |
void |
removeAllBaseAttributes()
Removes all BaseAttributes from this Concept. |
void |
removeAllColumnsets()
Removes all ColumnSets of this Concept. |
void |
removeAllFeatures()
Remove all features from this concept. |
protected void |
removeAllM4References()
This method needs to be implemented by all M4Data
objects. |
void |
removeAllMultiColumnFeatures()
Removes all MultiColumnFeatures from this Concept. |
void |
removeBaseAttribute(java.lang.String name)
Removes the specified BaseAttribute from this Concept. |
boolean |
removeColumnset(Columnset cs)
Remove a Columnset from this concept. |
void |
removeConnection()
Removes the connection of this Concept to its current Columnset, but ONLY if this Concept is of type 'DB'. |
boolean |
removeFeature(Feature feature)
Remove a Feature (a BaseAttribute or a MultiColumnFeature) from this concept. |
boolean |
removeFeatureByName(java.lang.String name)
Remove a Feature (a BaseAttribute or a MultiColumnFeature) with the given name from this concept. |
boolean |
removeFromProjection(Projection projection)
Removes a From-Projection. |
void |
removeMultiColumnFeature(java.lang.String name)
Removes the specified MultiColumnFeature from this Concept. |
void |
removeSubConcept(Concept theSubConcept)
Removes a Sub Concept. |
void |
removeSuperConcept(Concept theSuperConcept)
Removes a Super Concept. |
boolean |
removeToProjection(Projection projection)
Removes a To-Projection. |
void |
resetColumnSets()
In case of multi step support this method resets the internal pointer to the current column set to the first one. |
void |
setColumnSets(java.util.Collection theColumnsets)
Set the columnsets of this concept. |
void |
setFeatures(java.util.Collection theFeatures)
Set all Features into this concept. |
void |
setName(java.lang.String name)
Do not use spaces in Concept names, because these names are also used at the DB level for Columnset names. |
void |
setTheCase(Case ca)
Sets the case for this concept |
void |
setTheFromProjection(Concept newFromProjection)
Sets the From-Projection as the only From-Projection of this Concept |
void |
setTheSuperConcept(Concept newSuperConcept)
Sets the Super Concept to be the only Super Concept of this Concept |
void |
setType(java.lang.String t)
Setter method for the type of this concept. |
| Methods inherited from class edu.udo.cs.miningmart.m4.core.ParameterObject |
|---|
addParameterReference, getParameterReferences, removeParameterReference |
| Methods inherited from class edu.udo.cs.miningmart.m4.core.GraphicalM4Object |
|---|
deleteLocal, getCoordinates, getPoint, primitiveSetCoordinates, setCoordinatesDirty, setPoint, storeLocal |
| Methods inherited from class edu.udo.cs.miningmart.m4.core.M4Data |
|---|
exportLocal, genericGetter, genericSetter, getDocumentation, getObjectsReferencingMe, getObjectsReferencingMe, getObjectTag, getUniqueName, getValidName, getValidName, getXmlIdTag, getXmlVersion, hasDeleteStatus, importLocal, isDirty, isWaitingForDelete, primitiveGetDocObject, primitiveSetDocObject, readFromDb, readFromDbLocal, removeDocObject, removeFromDb, removeSetFromDb, setDirty, setDocumentation, setId, updateObjectsFromTable |
| Methods inherited from class edu.udo.cs.miningmart.m4.core.M4Object |
|---|
compareTo, doPrint, doPrint, equals, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getCasePrintObject, getId, getM4Db, getM4ObjectFromCache, getName, getNextM4SequenceValue, isNew, load, putM4ObjectToCache, replaceSpacesInName, setNotNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.miningmart.m4.utils.XmlInfo |
|---|
doPrint, doPrint, exportLocal, genericGetter, genericSetter, getObjectTag, getXmlIdTag, getXmlVersion, importLocal |
| 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 |
|---|
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, putM4ObjectToCache, replaceSpacesInName, setId, setNotNew |
| Field Detail |
|---|
public static final java.lang.String M4_TABLE_NAME
public static final java.lang.String ATTRIB_CONCEPT_ID
public static final java.lang.String ATTRIB_CASE_ID
public static final java.lang.String ATTRIB_CONCEPT_NAME
public static final java.lang.String ATTRIB_CONCEPT_TYPE
public static M4Info m4Info
| Constructor Detail |
|---|
public Concept(DB m4Db)
edu.udo.cs.miningmart.m4.core.M4Object#Constructor| Method Detail |
|---|
public java.lang.String getM4TableName()
getM4TableName in interface M4TableM4Table.getM4TableName()public java.lang.String getIdAttributeName()
getIdAttributeName in interface M4TableM4Table.getIdAttributeName()public M4Info getM4Info()
getM4Info in interface M4TableM4Table.getM4Info()public M4Info getXmlInfo()
getXmlInfo in interface XmlInfoM4Info object with the information
of all XML fields of this object.XmlInfo.getXmlInfo()public void print()
M4Object
print in interface M4Objectprint in class GraphicalM4ObjectParameter.print()
protected java.util.Collection getObjectsInNamespace(java.lang.Class typeOfObjects)
throws M4Exception
M4Datanull. If a namespace could
exist but doesn't, an empty Collection is returned.
getObjectsInNamespace in class M4DatatypeOfObjects - the type of objects that form the namespace
typeOfObjects,
or null.
M4ExceptionM4Data.getObjectsInNamespace(Class)public void setName(java.lang.String name)
setName in interface M4ObjectsetName in class GraphicalM4Objectname - the new name to be setM4Object.setName(String)
public void setType(java.lang.String t)
throws M4Exception
setType in interface Conceptt - the new type (one of "DB", "Base", "Mining")
M4Exception
public void deleteSoon()
throws M4Exception
deleteSoon in interface M4DatadeleteSoon in class GraphicalM4ObjectM4Exceptionpublic java.lang.String getType()
getType in interface Concept
public Parameter getParameterWhereThisIsOutputConcept()
throws M4Exception
Concept
getParameterWhereThisIsOutputConcept in interface ConceptM4Exception
public java.util.Collection getStepsWhereThisIsInputConcept()
throws M4Exception
getStepsWhereThisIsInputConcept in interface ConceptM4Exception
public Step getStepWhereThisIsOutputConcept()
throws M4Exception
getStepWhereThisIsOutputConcept in interface ConceptM4Exception
public void addColumnSet(Columnset cs)
throws M4Exception
addColumnSet in interface Conceptcs - the additional columnset
M4Exception
public boolean removeColumnset(Columnset cs)
throws M4Exception
removeColumnset in interface Conceptcs - the Columnset
M4Exception
public boolean hasMoreThanOneRelation()
throws M4Exception
hasMoreThanOneRelation in interface ConceptM4Exception
public boolean hasColumnset(Columnset cs)
throws M4Exception
hasColumnset in interface Conceptcs - a Columnset
true if a Columnset with the same ID is already
linked to this Concept
M4Exception
public void setColumnSets(java.util.Collection theColumnsets)
throws M4Exception
setColumnSets in interface ConcepttheColumnsets - An array with the new columnsets.
M4Exception
public java.util.Collection getColumnSets()
throws M4Exception
getColumnSets in interface ConceptM4Exceptionpublic java.lang.String getCurrentSuffix()
getCurrentSuffix in interface Conceptpublic void initMultiStepSupport(java.util.Collection columnsets)
initMultiStepSupport in interface Conceptcolumnsets - An array of column sets this concept refers to.
public Columnset getCurrentColumnSet()
throws M4Exception
getCurrentColumnSet in interface ConceptM4Exceptionpublic void resetColumnSets()
resetColumnSets in interface Concept
public boolean hasNextColumnSet()
throws M4Exception
hasNextColumnSet in interface ConceptM4Exception
public Columnset getNextColumnSet()
throws M4Exception
getNextColumnSet in interface ConceptM4Exception
public Case getTheCase()
throws M4Exception
getTheCase in interface ConceptCase this Concept belongs to
M4Exception
public void setTheCase(Case ca)
throws M4Exception
setTheCase in interface Conceptca - the Case this Concept belongs to
M4Exceptionpublic void primitiveSetCase(Case ca)
ca - the Case object to be set
public void addFeature(Feature f)
throws M4Exception
addFeature in interface Conceptf - the new Feature
M4Exception
public Feature getFeature(int index)
throws M4Exception
getFeature in interface Conceptindex - the number of the Feature
M4Exception
public Feature getFeature(java.lang.String name)
throws M4Exception
getFeature in interface Conceptname -
M4Exception
public boolean removeFeature(Feature feature)
throws M4Exception
removeFeature in interface Conceptf - the Feature
M4Exception
public boolean removeFeatureByName(java.lang.String name)
throws M4Exception
Concept
removeFeatureByName in interface Conceptname - the Name
M4Exception
public java.lang.String canFeatureBeRemoved(Feature theFeature)
throws M4Exception
canFeatureBeRemoved in interface ConcepttheFeature - the feature which is going to be removed
M4Exception
public void setFeatures(java.util.Collection theFeatures)
throws M4Exception
setFeatures in interface Conceptfs - A Collection of Feature objects
M4Exception
public void removeAllFeatures()
throws M4Exception
removeAllFeatures in interface ConceptM4Exception
public java.util.Collection getFeatures()
throws M4Exception
getFeatures in interface ConceptM4Exception
public java.lang.String getFeatureNames()
throws M4Exception
getFeatureNames in interface ConceptM4Exception
public int getNumberOfFeatures()
throws M4Exception
getNumberOfFeatures in interface ConceptM4Exception
public boolean hasFeature(Feature f)
throws M4Exception
hasFeature in interface Conceptf - a Feature
true if a Feature with the same ID is already
linked to this Concept
M4Exception
public void propagateChangesToDependingConcepts(Feature changedFeature,
java.lang.String previousNameOfFeature)
throws M4Exception
propagateChangesToDependingConcepts in interface ConceptchangedFeature - specifies which feature has been changed or addedpreviousNameOfFeature - iff the name of the feature has changed, this
gives its old name, otherwise it is null
M4Exception
public java.util.Collection getTheFromRelationships()
throws M4Exception
getTheFromRelationships in interface ConceptM4Exception
public Relation getRelationshipToConcept(Concept toConcept)
throws M4Exception
getRelationshipToConcept in interface ConcepttoConcept - the given ToConcept
M4Exception
public Relation getRelationshipFromConcept(Concept fromConcept)
throws M4Exception
getRelationshipFromConcept in interface ConceptfromConcept - the given FromConcept
M4Exception
protected void addFromRelationship(Relation newRel)
throws M4Exception
M4Exception
protected void addToRelationship(Relation newRel)
throws M4Exception
M4Exception
public java.util.Collection getTheToRelationships()
throws M4Exception
getTheToRelationships in interface ConceptM4Exception
public java.util.Collection getConceptInheritanceAsSuperConcept()
throws M4Exception
getConceptInheritanceAsSuperConcept in interface ConceptCollection of ConceptInheritance
M4Exception
public java.util.Collection getConceptInheritanceAsSubConcept()
throws M4Exception
getConceptInheritanceAsSubConcept in interface ConceptCollection of ConceptInheritance
M4Exception
public java.util.Collection getSuperConcepts()
throws M4Exception
getSuperConcepts in interface ConceptCollection of Concepts
M4Exception
public java.util.Collection getSubConcepts()
throws M4Exception
getSubConcepts in interface ConceptCollection of Concepts
M4Exception
public Concept getTheSuperConcept()
throws M4Exception
getTheSuperConcept in interface Conceptnull
M4Exception
public void addSubConcept(Concept newSubConcept)
throws M4Exception
addSubConcept in interface ConceptnewSubConcept - The Sub Concept to add
M4Exception
public void addSuperConcept(Concept newSuperConcept)
throws M4Exception
addSuperConcept in interface ConceptnewSuperConcept - The Super Concept to add
M4Exception
public void removeSubConcept(Concept theSubConcept)
throws M4Exception
Concept
removeSubConcept in interface ConceptM4Exception
public void removeSuperConcept(Concept theSuperConcept)
throws M4Exception
Concept
removeSuperConcept in interface ConceptM4Exception
public boolean isValidSubconcept(Concept potentialSubConcept)
throws M4Exception
isValidSubconcept in interface ConceptM4Exception
public void setTheSuperConcept(Concept newSuperConcept)
throws M4Exception
setTheSuperConcept in interface ConceptnewSuperConcept - The Super Concept to set
M4Exception
public Projection createProjectionToConcept(Concept toConcept,
java.lang.String nameOfProjection)
throws M4Exception
createProjectionToConcept in interface ConceptM4Exception
public void addToProjection(Projection projection)
throws M4Exception
addToProjection in interface Conceptprojection - The Projection to add with this Concept as the To-Concept
M4Exception
public boolean removeToProjection(Projection projection)
throws M4Exception
removeToProjection in interface Conceptprojection - The Projection (with this Concept as the To-Concept) to be removed
true if the object was found and removed from the
Collection
M4Exception
public void addFromProjection(Projection projection)
throws M4Exception
addFromProjection in interface Conceptprojection - The Projection to add with this Concept as the From-Concept
M4Exception
public boolean removeFromProjection(Projection projection)
throws M4Exception
removeFromProjection in interface Conceptprojection - The Projection (with this Concept as the From-Concept) to be removed
M4Exception
public void setTheFromProjection(Concept newFromProjection)
throws M4Exception
Concept
setTheFromProjection in interface ConceptnewFromProjection - The From-Projection to set
M4Exception
public Concept getTheFromProjection()
throws M4Exception
getTheFromProjection in interface ConceptConcept which this Concept
is a Projection from.
M4Exception
public java.util.Collection getProjectionsAsFromConcept()
throws M4Exception
getProjectionsAsFromConcept in interface ConceptCollection of Projection objects
M4Exception
public java.util.Collection getProjectionsAsToConcept()
throws M4Exception
getProjectionsAsToConcept in interface ConceptCollection of Projection objects
M4Exception
protected void removeAllM4References()
throws M4Exception
M4DataM4Data
objects. It has to remove all references to other
M4Objects.
removeAllM4References in class ParameterObjectM4ExceptionM4Data.removeAllM4References()protected boolean hasCoordinates()
Concepts have coordinates.
hasCoordinates in class GraphicalM4Object
protected java.util.Collection getGraphicallyEmbeddedObjects()
throws M4Exception
M4ExceptionGraphicalM4Object#getGraphicallyEbeddedObjects()
public java.util.Collection getDependentObjects()
throws M4Exception
M4DataM4Data sub-classes that need to be serialized.
getDependentObjects in interface XmlInfogetDependentObjects in class ParameterObjectCollection of all M4Data Java objects
holding a foreign key reference to this object.
This method must never return null.
M4ExceptionM4Data.getDependentObjects()
public boolean isRelationallyValid()
throws M4Exception
isRelationallyValid in interface ConceptM4Exception
public Concept copy(Case newCase)
throws M4Exception
copy in interface ConceptM4Exception
public BaseAttribute createBaseAttribute(java.lang.String name,
java.lang.String datatype,
java.lang.String attributeType,
java.lang.String roleName)
throws M4Exception
createBaseAttribute in interface ConceptM4Exception - when an error occurs during creation of the object
public Columnset createColumnset(java.lang.String name,
java.lang.String schema,
java.lang.String type)
throws M4Exception
createColumnset in interface ConceptM4Exception - when an error occurs during creation of the object.
public PrimaryKey createPrimaryKey(java.util.Collection keyAttribs)
throws M4Exception
Concept
createPrimaryKey in interface ConceptkeyAttribs - a Collection of BaseAttributes, each of which is part of the PrimaryKey
M4Exception
public PrimaryKey getPrimaryKey()
throws M4Exception
Concept
getPrimaryKey in interface ConceptM4Exception
public void connect(java.lang.String nameOfDbObject,
boolean isTable,
java.util.Map columnNamesForAttribs)
throws M4Exception
Concept
connect in interface ConceptnameOfDbObject - name of a table or view in the business data schemaisTable - TRUE iff 'nameOfDbObject' refers to a table (otherwise a view
is assumed)columnNamesForAttribs - a Map that maps every BaseAttribute
of this Concept to a String. The String is the name of the Column that this
BaseAttribute will be connected to.
M4ExceptionConcept.connect(String, boolean, Map)
public void removeConnection()
throws M4Exception
Concept
removeConnection in interface ConceptM4ExceptionConcept.removeConnection()
public Relation createFromConceptRelation(java.lang.String name,
Concept toConcept)
throws M4Exception
createFromConceptRelation in interface Conceptname - the name for the relationshiptoConcept - the Concept the relationship should point to
M4Exception - when an error occurs during creation of the object.
public MultiColumnFeature createMultiColumnFeature(java.lang.String name)
throws M4Exception
createMultiColumnFeature in interface ConceptM4Exception - when an error occurs during creation of the object.
public BaseAttribute getBaseAttribute(java.lang.String name)
throws M4Exception
getBaseAttribute in interface ConceptM4Exception
public BaseAttribute getBaseAttribute(Column theColumn)
throws M4Exception
Concept
getBaseAttribute in interface ConcepttheColumn - the Column
M4Exception
public java.util.Collection getAllBaseAttributes()
throws M4Exception
Concept
getAllBaseAttributes in interface ConceptM4Exception
public java.util.Collection getBaseAttribsNotInMcf()
throws M4Exception
Concept
getBaseAttribsNotInMcf in interface ConceptM4Exception
public java.util.Collection getBaseAttributesVisible(Step stepWhereVisible)
throws M4Exception
Concept
getBaseAttributesVisible in interface ConceptstepWhereVisible - Step where BAs must be visible
M4Exception
public void removeBaseAttribute(java.lang.String name)
throws M4Exception
M4Exception
public void removeAllBaseAttributes()
throws M4Exception
M4Exception
public java.util.Collection getAllMultiColumnFeatures()
throws M4Exception
getAllMultiColumnFeatures in interface ConceptM4Exception
public void removeMultiColumnFeature(java.lang.String name)
throws M4Exception
M4Exception
public void removeAllMultiColumnFeatures()
throws M4Exception
M4Exception
public MultiColumnFeature getMultiColumnFeature(java.lang.String name)
throws M4Exception
M4Exception
public void removeAllColumnsets()
throws M4Exception
removeAllColumnsets in interface ConceptM4Exception
public Columnset getColumnset(java.lang.String name)
throws M4Exception
getColumnset in interface ConceptM4Exception
public Columnset getColumnSetByBranch(java.lang.String multiStepBranch)
throws M4Exception
M4Exception
public EstimatedStatistics getEstimatedStatistics(Step visibleHere)
throws M4Exception
getEstimatedStatistics in interface ConceptvisibleHere - step that gives the place in the case for which the
statistics are to be estimated
M4Exceptionpublic void clearEstimations()
clearEstimations in interface Concept
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||