Class Attribute

java.lang.Object
noaa.coastwatch.render.feature.Attribute

public class Attribute extends Object
  • Constructor Details

    • Attribute

      public Attribute(String name, Class type, String units)
      Creates a new attribute.
      Parameters:
      name - the attribute name.
      type - the attribute data type.
      units - the attribute units or null for no units.
  • Method Details

    • getName

      public String getName()
      Gets the attribute name.
      Returns:
      the attribute name.
    • getType

      public Class getType()
      Gets the attribute data type.
      Returns:
      the attribute data type.
    • getUnits

      public String getUnits()
      Gets the attribute units.
      Returns:
      the attribute or null if the attribute has no units.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toDebugString

      public String toDebugString()