|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.openmath.OMObject
org.jscience.ml.openmath.OMSymbol
public class OMSymbol
Models an OpenMath symbol.
| Field Summary |
|---|
| Fields inherited from class org.jscience.ml.openmath.OMObject |
|---|
attributes |
| Constructor Summary | |
|---|---|
OMSymbol()
Constructor. |
|
OMSymbol(java.lang.String cd,
java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the object (shallow copy). |
java.lang.Object |
copy()
Copies the object (full copy). |
java.lang.String |
getCd()
Gets the CD for this OpenMath symbol. |
java.lang.String |
getCD()
Deprecated. use the getCd method instead. |
java.lang.String |
getName()
Gets the name for this OpenMath symbol. |
java.lang.String |
getType()
Gets the type. |
boolean |
isAtom()
Is this an atom object. |
boolean |
isComposite()
Is this a composite object. |
boolean |
isSame(OMObject object)
Determines if this is the same object. |
boolean |
isValid()
Determines if this object is valid. |
void |
setCD(java.lang.String cd)
Sets the CD for this OpenMath symbol. |
void |
setName(java.lang.String name)
Sets the name for this OpenMath symbol. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.jscience.ml.openmath.OMObject |
|---|
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OMSymbol()
public OMSymbol(java.lang.String cd,
java.lang.String name)
cd - the CD of the symbol.name - the name of the symbol.| Method Detail |
|---|
public java.lang.String getCD()
public java.lang.String getCd()
public void setCD(java.lang.String cd)
cd - the CD of the symbol.public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of the symbol.public java.lang.String getType()
getType in class OMObjectpublic boolean isAtom()
isAtom in class OMObjectpublic boolean isComposite()
isComposite in class OMObjectpublic java.lang.String toString()
toString in class OMObjectpublic java.lang.Object clone()
clone in class OMObjectpublic java.lang.Object copy()
copy in class OMObjectpublic boolean isSame(OMObject object)
isSame in class OMObjectobject - the object to test against.
public boolean isValid()
isValid in class OMObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||