org.sbml.jsbml.ext.spatial
public class SampledField extends AbstractSpatialNamedSBase
Modifier and Type | Field and Description |
---|---|
private static java.util.ResourceBundle |
bundle |
private java.lang.String |
dataType |
private java.lang.String |
encoding |
private ImageData |
imageData |
private java.lang.String |
interpolationType |
private java.lang.Integer |
numSamples1 |
private java.lang.Integer |
numSamples2 |
private java.lang.Integer |
numSamples3 |
private static long |
serialVersionUID
Generated serial version identifier.
|
spatialId
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
SampledField() |
SampledField(SampledField sf) |
Modifier and Type | Method and Description |
---|---|
SampledField |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
boolean |
equals(java.lang.Object object)
|
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
java.lang.String |
getDataType()
Returns the value of dataType
|
java.lang.String |
getEncoding()
Returns the value of encoding
|
ImageData |
getImageData()
Returns the value of imageData
|
java.lang.String |
getInterpolationType()
Returns the value of interpolationType
|
int |
getNumSamples1()
Returns the value of numSamples1
|
int |
getNumSamples2()
Returns the value of numSamples2
|
int |
getNumSamples3()
Returns the value of numSamples3
|
int |
hashCode() |
boolean |
isSetDataType()
Returns whether dataType is set
|
boolean |
isSetEncoding()
Returns whether encoding is set
|
boolean |
isSetImageData()
Returns whether imageData is set
|
boolean |
isSetInterpolationType()
Returns whether interpolationType is set
|
boolean |
isSetNumSamples1()
Returns whether numSamples1 is set
|
boolean |
isSetNumSamples2()
Returns whether numSamples2 is set
|
boolean |
isSetNumSamples3()
Returns whether numSamples3 is set
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
If the attribute is an id or name attribute, it will set the id or name
of this object with the value of the XML attribute ('value').
|
void |
setDataType(java.lang.String dataType)
Sets the value of dataType
|
void |
setEncoding(java.lang.String encoding)
Sets the value of encoding
|
void |
setImageData(ImageData imageData)
Sets the value of imageData
|
void |
setInterpolationType(java.lang.String interpolationType)
Sets the value of interpolationType
|
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
|
java.lang.String |
toString() |
boolean |
unsetDataType()
Unsets the variable dataType
|
boolean |
unsetEncoding()
Unsets the variable encoding
|
boolean |
unsetImageData()
Unsets the variable imageData
|
boolean |
unsetInterpolationType()
Unsets the variable interpolationType
|
boolean |
unsetNumSamples1()
Unsets the variable numSamples1
|
boolean |
unsetNumSamples2()
Unsets the variable numSamples2
|
boolean |
unsetNumSamples3()
Unsets the variable numSamples3
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
getSpatialId, isSetSpatialId, setSpatialId, unsetSpatialId
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
private java.lang.String dataType
private java.lang.Integer numSamples1
private java.lang.Integer numSamples2
private java.lang.Integer numSamples3
private java.lang.String interpolationType
private java.lang.String encoding
private ImageData imageData
private static final java.util.ResourceBundle bundle
public SampledField()
public SampledField(SampledField sf)
node
- public SampledField clone()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class AbstractSBase
public java.lang.String getDataType()
public boolean isSetDataType()
public void setDataType(java.lang.String dataType)
public boolean unsetDataType()
true
, if dataType was set before,
otherwise false
public int getNumSamples1()
public boolean isSetNumSamples1()
public void setNumSamples1(int numSamples1)
public boolean unsetNumSamples1()
true
, if numSamples1 was set before,
otherwise false
public int getNumSamples2()
public boolean isSetNumSamples2()
public void setNumSamples2(int numSamples2)
public boolean unsetNumSamples2()
true
, if numSamples2 was set before,
otherwise false
public int getNumSamples3()
public boolean isSetNumSamples3()
public void setNumSamples3(int numSamples3)
public boolean unsetNumSamples3()
true
, if numSamples3 was set before,
otherwise false
public java.lang.String getInterpolationType()
public boolean isSetInterpolationType()
public void setInterpolationType(java.lang.String interpolationType)
public boolean unsetInterpolationType()
true
, if interpolationType was set before,
otherwise false
public java.lang.String getEncoding()
public boolean isSetEncoding()
public void setEncoding(java.lang.String encoding)
public boolean unsetEncoding()
true
, if encoding was set before,
otherwise false
public ImageData getImageData()
public boolean isSetImageData()
public void setImageData(ImageData imageData)
public boolean unsetImageData()
true
, if imageData was set before,
otherwise false
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class AbstractSpatialNamedSBase
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class AbstractSpatialNamedSBase
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class AbstractSpatialNamedSBase
public int hashCode()
hashCode
in interface SBase
hashCode
in class AbstractSpatialNamedSBase
Object.hashCode()
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes
in interface SBase
writeXMLAttributes
in class AbstractSpatialNamedSBase
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBase
readAttribute
in interface SBase
readAttribute
in class AbstractSpatialNamedSBase
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.public java.lang.String toString()
toString
in class AbstractSpatialNamedSBase
public boolean equals(java.lang.Object object)
SBase
true
if and only if the given SBase
has exactly the same
properties like this SBase
instance.equals
in interface SBase
equals
in class AbstractSpatialNamedSBase
true
if and only if the given Object
is an instance of
SBase
that has exactly the same properties like this
SBase instance.