Class AttributeUCD

java.lang.Object
gaiasky.util.filter.attrib.AttributeUCD
All Implemented Interfaces:
IAttribute

public class AttributeUCD extends Object implements IAttribute
  • Field Details

    • ucd

      public UCD ucd
  • Constructor Details

    • AttributeUCD

      public AttributeUCD(UCD ucd)
  • Method Details

    • get

      public double get(IParticleRecord bean)
      Description copied from interface: IAttribute
      Gets the value of this attribute
      Specified by:
      get in interface IAttribute
      Parameters:
      bean - The particle or star bean
      Returns:
      The value
    • getUnit

      public String getUnit()
      Description copied from interface: IAttribute
      Gets the unit in string
      Specified by:
      getUnit in interface IAttribute
      Returns:
      The unit of this attribute
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Description copied from interface: IAttribute
      Gets the name
      Specified by:
      toString in interface IAttribute
      Overrides:
      toString in class Object
      Returns:
      The name