|
|||||||||
| 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.Value
public class Value
This class represents an M4 Value.
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIB_DATATYPE
|
static java.lang.String |
ATTRIB_THE_VALUE
|
static java.lang.String |
ATTRIB_VALUE_ID
|
static java.lang.String |
ATTRIB_VALUE_NAME
|
static java.lang.String |
M4_TABLE_NAME
|
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.utils.M4Table |
|---|
NOT_NULL |
| Constructor Summary | |
|---|---|
Value()
Never use this constructor!! |
|
Value(DB m4Db)
Constructor for Value. |
|
| Method Summary | |
|---|---|
java.lang.Double |
getDouble()
|
java.lang.String |
getIdAttributeName()
|
java.lang.Long |
getLong()
|
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. |
long |
getType()
Getter method. |
java.lang.Long |
getTypeL()
Getter method. |
java.lang.String |
getTypeName()
|
java.lang.String |
getValue()
Getter method. |
M4Info |
getXmlInfo()
|
protected boolean |
hasCoordinates()
Values do not have coordinates. |
boolean |
isDouble()
|
boolean |
isLong()
|
void |
print()
Print this M4 object's parameters. |
protected void |
removeAllM4References()
This method needs to be implemented by all M4Data
objects. |
void |
setRawValue(java.lang.String value)
This setter method cares about conversion from database String
formats and should only be used during load. |
void |
setType(long t)
Setter method. |
void |
setType(java.lang.String conceptualDatatypeName)
|
void |
setTypeL(java.lang.Long t)
Setter method. |
void |
setValue(java.lang.String v)
Setter method. |
| Methods inherited from class edu.udo.cs.miningmart.m4.core.ParameterObject |
|---|
addParameterReference, getDependentObjects, getParameterReferences, removeParameterReference |
| Methods inherited from class edu.udo.cs.miningmart.m4.core.GraphicalM4Object |
|---|
deleteLocal, deleteSoon, getCoordinates, getPoint, primitiveSetCoordinates, setCoordinatesDirty, setName, 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, getDependentObjects, 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 |
|---|
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, putM4ObjectToCache, replaceSpacesInName, setId, setName, setNotNew |
| Field Detail |
|---|
public static final java.lang.String M4_TABLE_NAME
public static final java.lang.String ATTRIB_VALUE_ID
public static final java.lang.String ATTRIB_DATATYPE
public static final java.lang.String ATTRIB_VALUE_NAME
public static final java.lang.String ATTRIB_THE_VALUE
public static M4Info m4Info
| Constructor Detail |
|---|
public Value()
public Value(DB m4Db)
m4Db - edu.udo.cs.miningmart.m4.core.M4Data#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 setType(long t)
setType in interface Valuet - the new typepublic void setTypeL(java.lang.Long t)
setTypeL in interface Valuet - the new type
public void setType(java.lang.String conceptualDatatypeName)
throws M4Exception
setType in interface ValueM4Exception
public java.lang.String getTypeName()
throws M4Exception
getTypeName in interface ValueM4Exceptionpublic long getType()
getType in interface Valuepublic java.lang.Long getTypeL()
getTypeL in interface Valuepublic void setValue(java.lang.String v)
setValue in interface Valuev - the new valuepublic void setRawValue(java.lang.String value)
String
formats and should only be used during load. The value type needs to be set
already!
setRawValue in interface Valuevalue - the value in database String representationpublic java.lang.String getValue()
getValue in interface Valuepublic boolean isLong()
isLong in interface Valuepublic boolean isDouble()
isDouble in interface Valuepublic java.lang.Long getLong()
getLong in interface Valuepublic java.lang.Double getDouble()
getDouble in interface Valueprotected boolean hasCoordinates()
Values do not have coordinates.
hasCoordinates in class GraphicalM4Object
protected void removeAllM4References()
throws M4Exception
M4DataM4Data
objects. It has to remove all references to other
M4Objects.
removeAllM4References in class ParameterObjectM4ExceptionM4Data.removeAllM4References()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||