|
|||||||||
| 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.OMForeign
public class OMForeign
Models an OpenMath foreign object.
| Field Summary | |
|---|---|
protected java.lang.Object |
object
Stores the foreign object. |
| Fields inherited from class org.jscience.ml.openmath.OMObject |
|---|
attributes |
| Constructor Summary | |
|---|---|
OMForeign()
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the object. |
java.lang.Object |
copy()
Copies the object. |
java.lang.Object |
getObject()
Get the object. |
java.lang.String |
getType()
Returns the type of the object. |
boolean |
isAtom()
Returns if this is an atom. |
boolean |
isComposite()
Returns if this is a composite. |
boolean |
isSame(OMObject object)
Returns if this is the same object. |
boolean |
isValid()
Returns if the OMForeign is valid. |
void |
setObject(java.lang.Object object)
Set the object. |
java.lang.String |
toString()
Returns a string representation. |
| 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 |
| Field Detail |
|---|
protected java.lang.Object object
| Constructor Detail |
|---|
public OMForeign()
| Method Detail |
|---|
public java.lang.Object clone()
clone in class OMObjectpublic java.lang.Object copy()
Note: the copy method of this object does NOT deep copy the foreign object. It does basically the same thing as clone. This behavior is intended. If you want a copy of the foreign object you will have to make your own copy!
copy in class OMObjectpublic java.lang.String getType()
getType in class OMObjectpublic boolean isAtom()
isAtom in class OMObjectpublic boolean isComposite()
isComposite in class OMObjectpublic boolean isSame(OMObject object)
isSame in class OMObjectobject - the object to test against.
public boolean isValid()
isValid in class OMObjectpublic java.lang.String toString()
toString in class OMObjectpublic void setObject(java.lang.Object object)
object - the object to set.public java.lang.Object getObject()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||