Interface IAttribute

All Known Implementing Classes:
AttributeAbsmag, AttributeAppmag, AttributeColorBlue, AttributeColorGreen, AttributeColorRed, AttributeDEC, AttributeDistance, AttributeEclLatitude, AttributeEclLongitude, AttributeGalLatitude, AttributeGalLongitude, AttributeMualpha, AttributeMudelta, AttributeRA, AttributeRadvel, AttributeUCD

public interface IAttribute
  • Field Details

  • Method Details

    • get

      Gets the value of this attribute.
      Parameters:
      bean - The particle or star bean.
      Returns:
      The value.
    • getNumber

      double getNumber(IParticleRecord bean)
      Gets the number value of this attribute.
      Parameters:
      bean - The particle or star bean.
      Returns:
      The number value.
    • getUnit

      String getUnit()
      Gets the unit in string.
      Returns:
      The unit of this attribute.
    • toString

      String toString()
      Gets the name.
      Overrides:
      toString in class Object
      Returns:
      The name.
    • isNumberAttribute

      boolean isNumberAttribute()
      Check whether the attribute contains a numeric value.
      Returns:
      True if the attribute has a numeric value.