Class AttributeUCD

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

public class AttributeUCD
extends java.lang.Object
implements IAttribute<IParticleRecord>
  • Field Summary

    Fields
    Modifier and Type Field Description
    UCD ucd  

    Fields inherited from interface gaiasky.util.filter.attrib.IAttribute

    aux1, aux2
  • Constructor Summary

    Constructors
    Constructor Description
    AttributeUCD​(UCD ucd)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    double get​(IParticleRecord bean)
    Gets the value of this attribute
    java.lang.String getUnit()
    Gets the unit in string
    java.lang.String toString()
    Gets the name

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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<IParticleRecord>
      Returns:
      The value
    • getUnit

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

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Description copied from interface: IAttribute
      Gets the name
      Specified by:
      toString in interface IAttribute<IParticleRecord>
      Overrides:
      toString in class java.lang.Object
      Returns:
      The name