|
||||||||||
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.ConceptInheritance
Corresponds to M4 table ConceptIsA_T.
Field Summary | |
static java.lang.String |
ATTRIB_CONINHERIT_ID
db level: name of the attribute specifying the projection's id |
static java.lang.String |
ATTRIB_SUB_CONCEPT
db level: name of the attribute specifying the from-concept's id |
static java.lang.String |
ATTRIB_SUPER_CONCEPT
db level: name of the attribute specifying the to-concept's id |
static java.lang.String |
M4_TABLE_NAME
The name of the corresponding M4 table. |
static M4Info |
m4Info
Cache for getM4Info() |
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.utils.M4Table |
NOT_NULL |
Constructor Summary | |
ConceptInheritance(DB db)
|
Method Summary | |
java.lang.String |
getIdAttributeName()
|
M4Info |
getM4Info()
|
java.lang.String |
getM4TableName()
|
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. |
Concept |
getSubConcept()
Getter method. |
Concept |
getSuperConcept()
Getter method. |
M4Info |
getXmlInfo()
|
void |
primitiveSetSubConcept(Concept subConcept)
Primitive setter, do not use it! |
void |
primitiveSetSuperConcept(Concept superConcept)
Primitive setter, do not use it! |
void |
print()
Print this M4 object's parameters. |
protected void |
removeAllM4References()
This method needs to be implemented by all M4Data
objects. |
void |
setSubConcept(Concept subConcept)
Setter method for the Sub-Concept |
void |
setSuperConcept(Concept superConcept)
Setter method for the Super-Concept |
Methods inherited from class edu.udo.cs.miningmart.m4.core.M4Data |
deleteLocal, deleteSoon, exportLocal, genericGetter, genericSetter, getDependentObjects, getDocumentation, getObjectsReferencingMe, getObjectsReferencingMe, getObjectTag, getValidName, getXmlIdTag, getXmlVersion, hasDeleteStatus, importLocal, isDirty, isWaitingForDelete, primitiveGetDocObject, primitiveSetDocObject, readFromDb, readFromDbLocal, removeDocObject, removeFromDb, removeSetFromDb, setDirty, setDocumentation, setId, setName, storeLocal, 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 |
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, getDependentObjects, getObjectTag, getXmlIdTag, getXmlVersion, importLocal |
Field Detail |
public static final java.lang.String M4_TABLE_NAME
public static final java.lang.String ATTRIB_CONINHERIT_ID
public static final java.lang.String ATTRIB_SUB_CONCEPT
public static final java.lang.String ATTRIB_SUPER_CONCEPT
public static M4Info m4Info
Constructor Detail |
public ConceptInheritance(DB db)
Method Detail |
public java.lang.String getM4TableName()
getM4TableName
in interface M4Table
M4Table.getM4TableName()
public java.lang.String getIdAttributeName()
getIdAttributeName
in interface M4Table
M4Table.getIdAttributeName()
public M4Info getM4Info()
getM4Info
in interface M4Table
M4Table.getM4Info()
public M4Info getXmlInfo()
getXmlInfo
in interface XmlInfo
M4Info
object with the information
of all XML fields of this
object.XmlInfo.getXmlInfo()
public void print()
M4Object
print
in interface M4Object
print
in class M4Object
M4Object.print()
protected java.util.Collection getObjectsInNamespace(java.lang.Class typeOfObjects) throws M4Exception
M4Data
null
. If a namespace could
exist but doesn't, an empty Collection is returned.
getObjectsInNamespace
in class M4Data
typeOfObjects
- the type of objects that form the namespace
typeOfObjects
,
or null
.
M4Exception
M4Data.getObjectsInNamespace(Class)
public Concept getSubConcept()
Concept
stored as the Sub-Concept inpublic Concept getSuperConcept()
Concept
stored as the Super-Conceptpublic void setSubConcept(Concept subConcept) throws M4Exception
subConcept
- the Concept
to be set as the new
Sub-Concept
M4Exception
public void setSuperConcept(Concept superConcept) throws M4Exception
superConcept
- the Concept
to be set as the new
Super-Concept
M4Exception
public void primitiveSetSubConcept(Concept subConcept)
subConcept
- the new From-Concept to be setpublic void primitiveSetSuperConcept(Concept superConcept)
superConcept
- the new From-Concept to be setprotected void removeAllM4References() throws M4Exception
M4Data
M4Data
objects. It has to remove all references to other
M4Object
s.
removeAllM4References
in class M4Data
M4Exception
M4Data.removeAllM4References()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |