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
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Integer
getElement()
String
getName()
void
setElement(int element)
Sets the number of elements.void
setName(String name)
Set the axis name.
-
Constructor Details
-
Axis
Constructor.- Parameters:
name
- axis name.
-
Axis
public Axis(int element)Constructor.- Parameters:
element
- number of elements in the axis.
-
Axis
Constructor.- Parameters:
name
- The axis name.element
- number of elements in the axis.
-
-
Method Details
-
getName
- Returns:
- the name of the axis.
-
setName
Set the axis name.- Parameters:
name
- the name.
-
getElement
- Returns:
- the number of elements.
-
setElement
public void setElement(int element)Sets the number of elements.- Parameters:
element
- the number of elements.
-