Class OMVariable
java.lang.Object
org.episteme.core.mathematics.loaders.openmath.OMObject
org.episteme.core.mathematics.loaders.openmath.OMVariable
- All Implemented Interfaces:
Serializable, Cloneable
Models an OpenMath variable.
- Version:
- $Revision: 1.3 $
- Author:
- Manfred N. Riem (mriem@manorrock.org)
- See Also:
-
Field Summary
Fields inherited from class OMObject
attributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the object (shallow copy).copy()Copies the object (full copy).getName()Gets the name.getType()Gets the type.booleanisAtom()Is this an atom object.booleanIs this a composite object.booleanDetermines if this is the same object.booleanisValid()Determines if this is a valid object.voidSets the name.toString()Returns a string representation of the object.Methods inherited from class OMObject
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes
-
Constructor Details
-
OMVariable
public OMVariable()Constructor. -
OMVariable
-
-
Method Details
-
getName
-
setName
-
getType
-
isAtom
-
isComposite
public boolean isComposite()Is this a composite object.- Specified by:
isCompositein classOMObject- Returns:
- if we are a composite object.
-
toString
-
clone
-
copy
-
isSame
-
isValid
-