public class SampledField extends AbstractSpatialNamedSBase
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
SampledField() |
SampledField(int level,
int version) |
SampledField(SampledField sf) |
SampledField(String id,
int level,
int version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
append(String data)
Appends the variable data to samples.
|
SampledField |
clone() |
boolean |
equals(Object object) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
CompressionKind |
getCompression()
Returns the value of compression
|
XMLNode |
getData()
Returns the value of data
|
String |
getDataString()
Returns the value of data
|
DataKind |
getDataType()
Returns the value of dataType
|
InterpolationKind |
getInterpolation()
Returns the value of interpolation
|
int |
getNumSamples1()
Returns the value of numSamples1
|
int |
getNumSamples2()
Returns the value of numSamples2
|
int |
getNumSamples3()
Returns the value of numSamples3
|
String |
getSamples()
Returns the value of
samples. |
int |
getSamplesLength()
Returns the value of
samplesLength. |
int |
hashCode() |
boolean |
isSetCompression()
Returns whether compression is set
|
boolean |
isSetData()
Returns whether data is set
|
boolean |
isSetDataType()
Returns whether dataType is set
|
boolean |
isSetInterpolation()
Returns whether interpolation is set
|
boolean |
isSetNumSamples1()
Returns whether numSamples1 is set
|
boolean |
isSetNumSamples2()
Returns whether numSamples2 is set
|
boolean |
isSetNumSamples3()
Returns whether numSamples3 is set
|
boolean |
isSetSamples()
Returns whether
samples is set. |
boolean |
isSetSamplesLength()
Returns whether
samplesLength is set. |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setCompression(CompressionKind compression)
Sets the value of compression
|
void |
setData(String data)
Sets the value of data
|
void |
setData(XMLNode data)
Sets the value of data
|
void |
setDataType(DataKind dataType)
Sets the value of dataType
|
void |
setInterpolation(InterpolationKind interpolation)
Sets the value of interpolation
|
void |
setNumSamples1(int numSamples1)
Sets the value of numSamples1
|
void |
setNumSamples2(int numSamples2)
Sets the value of numSamples2
|
void |
setNumSamples3(int numSamples3)
Sets the value of numSamples3
|
void |
setSamples(String samples)
Sets the value of samples
|
void |
setSamplesLength(int samplesLength)
Sets the value of samplesLength
|
void |
setSamplesLength(String samplesLength)
Sets the value of samplesLength
|
boolean |
unsetCompression()
Unsets the variable compression
|
boolean |
unsetData()
Unsets the variable data
|
boolean |
unsetDataType()
Unsets the variable dataType
|
boolean |
unsetInterpolation()
Unsets the variable interpolation
|
boolean |
unsetNumSamples1()
Unsets the variable numSamples1
|
boolean |
unsetNumSamples2()
Unsets the variable numSamples2
|
boolean |
unsetNumSamples3()
Unsets the variable numSamples3
|
boolean |
unsetSamples()
Unsets the variable samples.
|
boolean |
unsetSamplesLength()
Unsets the variable samplesLength.
|
Map<String,String> |
writeXMLAttributes() |
getSpatialId, initDefaults, isSetSpatialId, setSpatialId, unsetSpatialIdaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic SampledField()
public SampledField(SampledField sf)
sf - public SampledField(int level,
int version)
level - version - public SampledField(String id, int level, int version)
id - level - version - public SampledField clone()
clone in interface SBaseclone in class AbstractSpatialNamedSBasepublic boolean equals(Object object)
equals in interface SBaseequals in class AbstractSpatialNamedSBasepublic int getNumSamples1()
public boolean isSetNumSamples1()
public void setNumSamples1(int numSamples1)
numSamples1 - public boolean unsetNumSamples1()
true, if numSamples1 was set before,
otherwise falsepublic int getNumSamples2()
public boolean isSetNumSamples2()
public void setNumSamples2(int numSamples2)
numSamples2 - public boolean unsetNumSamples2()
true, if numSamples2 was set before,
otherwise falsepublic int getNumSamples3()
public boolean isSetNumSamples3()
public void setNumSamples3(int numSamples3)
numSamples3 - public boolean unsetNumSamples3()
true, if numSamples3 was set before,
otherwise falsepublic DataKind getDataType()
public boolean isSetDataType()
public void setDataType(DataKind dataType)
dataType - public boolean unsetDataType()
true, if dataType was set before,
otherwise falsepublic CompressionKind getCompression()
public boolean isSetCompression()
public void setCompression(CompressionKind compression)
compression - public boolean unsetCompression()
true, if compression was set before,
otherwise falsepublic InterpolationKind getInterpolation()
public boolean isSetInterpolation()
public void setInterpolation(InterpolationKind interpolation)
interpolation - public boolean unsetInterpolation()
true, if interpolation was set before,
otherwise falsepublic boolean isSetSamples()
samples is set.samples is set.public void setSamples(String samples)
samples - the value of samples to be set.public boolean unsetSamples()
true if samples was set before, otherwise false.public boolean append(String data)
true if data was appended to samples, otherwise false.public int getSamplesLength()
samplesLength.samplesLength.public boolean isSetSamplesLength()
samplesLength is set.samplesLength is set.public void setSamplesLength(String samplesLength)
samplesLength - the value of samplesLength to be set.public void setSamplesLength(int samplesLength)
samplesLength - the value of samplesLength to be set.public boolean unsetSamplesLength()
true if samplesLength was set before, otherwise false.public String getDataString()
public XMLNode getData()
public boolean isSetData()
public void setData(String data) throws XMLStreamException
data - XMLStreamExceptionpublic void setData(XMLNode data)
data - public boolean unsetData()
true, if data was set before,
otherwise falsepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class AbstractSpatialNamedSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSpatialNamedSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSpatialNamedSBasepublic int hashCode()
hashCode in interface SBasehashCode in class AbstractSpatialNamedSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSpatialNamedSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractSpatialNamedSBaseCopyright © 2009–2016. All rights reserved.