|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.dt.VariableSimpleSubclass
public class VariableSimpleSubclass
Adapt a VariableSimpleIF into another VariableSimpleIF, so it can be subclassed.
| Field Summary | |
|---|---|
protected VariableSimpleIF |
v
|
| Constructor Summary | |
|---|---|
VariableSimpleSubclass(VariableSimpleIF v)
|
|
| Method Summary | |
|---|---|
int |
compareTo(VariableSimpleIF o)
Sort by name |
Attribute |
findAttributeIgnoreCase(String attName)
find the attribute for the variable with the given name, ignoring case. |
List<Attribute> |
getAttributes()
Attributes for the variable. |
DataType |
getDataType()
Variable's data type |
String |
getDescription()
description of the Variable |
List<Dimension> |
getDimensions()
Dimension List. |
String |
getInfo()
|
String |
getName()
full name of the data Variable |
int |
getRank()
Variable rank |
int[] |
getShape()
Variable shape |
String |
getShortName()
short name of the data Variable |
String |
getUnitsString()
Units of the Variable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected VariableSimpleIF v
| Constructor Detail |
|---|
public VariableSimpleSubclass(VariableSimpleIF v)
| Method Detail |
|---|
public String getName()
VariableSimpleIF
getName in interface VariableSimpleIFpublic String getShortName()
VariableSimpleIF
getShortName in interface VariableSimpleIFpublic DataType getDataType()
VariableSimpleIF
getDataType in interface VariableSimpleIFpublic String getDescription()
VariableSimpleIF
getDescription in interface VariableSimpleIFpublic String getInfo()
public String getUnitsString()
VariableSimpleIF
getUnitsString in interface VariableSimpleIFpublic int getRank()
VariableSimpleIF
getRank in interface VariableSimpleIFpublic int[] getShape()
VariableSimpleIF
getShape in interface VariableSimpleIFpublic List<Dimension> getDimensions()
VariableSimpleIF
getDimensions in interface VariableSimpleIFpublic List<Attribute> getAttributes()
VariableSimpleIF
getAttributes in interface VariableSimpleIFpublic Attribute findAttributeIgnoreCase(String attName)
VariableSimpleIF
findAttributeIgnoreCase in interface VariableSimpleIFattName - attribute name
public String toString()
toString in class Objectpublic int compareTo(VariableSimpleIF o)
compareTo in interface Comparable<VariableSimpleIF>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||