Package ucar.nc2.dods

Class DODSAttribute


  • public class DODSAttribute
    extends ucar.nc2.Attribute
    Adapter for dods.dap.Attribute into a ucar.nc2.Attribute. Byte attributes are widened to short because DODS has Bytes as unsigned, but in Java they are signed.
    See Also:
    Attribute
    • Nested Class Summary

      • Nested classes/interfaces inherited from class ucar.nc2.Attribute

        ucar.nc2.Attribute.Builder
    • Field Summary

      • Fields inherited from class ucar.nc2.CDMNode

        annotations, dodsname, group, immutable, parentstruct, shortName, sort
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDODSName()  
      void resetShortName​(String name)  
      void setDODSName​(String name)  
      • Methods inherited from class ucar.nc2.Attribute

        builder, builder, equals, getDataType, getEnumType, getLength, getName, getNumericValue, getNumericValue, getStringValue, getStringValue, getValue, getValues, hashCode, isArray, isspecial, isString, makeMap, setDataType, setEnumType, setName, setValues, setValues, toBuilder, toString, toString, writeCDL
      • Methods inherited from class ucar.nc2.CDMNode

        annotate, annotation, getFullName, getFullNameEscaped, getGroup, getImmutable, getParentGroup, getParentStructure, getShortName, getSort, isMemberOfStructure, localhash, setImmutable, setParentGroup, setParentStructure, setShortName, setSort, unwrap
    • Constructor Detail

      • DODSAttribute

        public DODSAttribute​(String dodsName,
                             Attribute att)
        constructor: adapter around dods.dap.Attribute
        Parameters:
        dodsName - the attribute name
        att - the dods attribute
      • DODSAttribute

        protected DODSAttribute​(String dodsName,
                                String val)
    • Method Detail

      • getDODSName

        public String getDODSName()
        Overrides:
        getDODSName in class ucar.nc2.CDMNode
      • setDODSName

        public void setDODSName​(String name)
        Overrides:
        setDODSName in class ucar.nc2.CDMNode
      • resetShortName

        public void resetShortName​(String name)