public class MultiDimensionalArray extends java.lang.Object implements SplusObject, java.io.Serializable
MultiDimensionalArray
object.Constructor and Description |
---|
MultiDimensionalArray()
The default constructor.
|
MultiDimensionalArray(java.lang.Object items,
int[] dimensions,
java.lang.String[][] dimNamesArray)
Constructs an object from an array of any type that can be represented as a built-in type.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Attr> |
getAttrs()
Retrieves the
Attr object of the MultiDimensionalArray . |
Vector |
getDimAttribute()
Retrieves dimensions attribute of the array.
|
Dimension |
getDimension()
Retrieves the
Dimension object of the MultiDimensionalArray . |
List |
getDimnamesAttribute()
Retrieves the dimension names attribute of the array.
|
java.lang.String |
getName()
Retrieves the name of the
MultiDimensionalArray . |
Vector |
getVector()
Retrieves the
Vector object of the MultiDimensionalArray . |
void |
setAttrs(java.util.List<Attr> attrs)
Sets the
Attr object of the MultiDimensionalArray . |
void |
setDimension(Dimension dimension)
Sets the
Dimension object of the MultiDimensionalArray . |
void |
setName(java.lang.String name)
Sets the name of the
MultiDimensionalArray . |
void |
setVector(Vector vector)
Sets the
Vector object of the MultiDimensionalArray . |
public MultiDimensionalArray()
public MultiDimensionalArray(java.lang.Object items, int[] dimensions, java.lang.String[][] dimNamesArray)
items
- The contents for the array.dimensions
- The dimensions of the array.dimNamesArray
- The dimension names.public Vector getDimAttribute()
Dimension
public List getDimnamesAttribute()
public java.util.List<Attr> getAttrs()
Attr
object of the MultiDimensionalArray
.Attr
objects.Attr
public void setAttrs(java.util.List<Attr> attrs)
Attr
object of the MultiDimensionalArray
.attrs
- A list of Attr
objects.Attr
public Dimension getDimension()
Dimension
object of the MultiDimensionalArray
.Dimension
object.Dimension
public void setDimension(Dimension dimension)
Dimension
object of the MultiDimensionalArray
.dimension
- A Dimension
object.Dimension
public java.lang.String getName()
MultiDimensionalArray
.getName
in interface SplusObject
public void setName(java.lang.String name)
MultiDimensionalArray
.setName
in interface SplusObject
name
- A string containing the name.public Vector getVector()
Vector
object of the MultiDimensionalArray
.Vector
object.Vector