Class Axis
- java.lang.Object
-
- gov.nasa.pds.tools.validate.content.array.Axis
-
public class Axis extends Object
Class that holds information about an Axis in an Array.- Author:
- mcayanan
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetElement()StringgetName()voidsetElement(int element)Sets the number of elements.voidsetName(String name)Set the axis name.
-
-
-
Constructor Detail
-
Axis
public Axis(String name)
Constructor.- Parameters:
name- axis name.
-
Axis
public Axis(int element)
Constructor.- Parameters:
element- number of elements in the axis.
-
Axis
public Axis(String name, int element)
Constructor.- Parameters:
name- The axis name.element- number of elements in the axis.
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of the axis.
-
setName
public void setName(String name)
Set the axis name.- Parameters:
name- the name.
-
getElement
public Integer getElement()
- Returns:
- the number of elements.
-
setElement
public void setElement(int element)
Sets the number of elements.- Parameters:
element- the number of elements.
-
-