Package gaiasky.util.filter.attrib
Class AttributeUCD
- java.lang.Object
-
- gaiasky.util.filter.attrib.AttributeUCD
-
- All Implemented Interfaces:
IAttribute<ParticleGroup.ParticleBean>
public class AttributeUCD extends java.lang.Object implements IAttribute<ParticleGroup.ParticleBean>
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
double
get(ParticleGroup.ParticleBean bean)
Gets the value of this attributejava.lang.String
getUnit()
Gets the unit in stringjava.lang.String
toString()
Gets the name
-
-
-
Field Detail
-
ucd
public UCD ucd
-
-
Constructor Detail
-
AttributeUCD
public AttributeUCD(UCD ucd)
-
-
Method Detail
-
get
public double get(ParticleGroup.ParticleBean bean)
Description copied from interface:IAttribute
Gets the value of this attribute- Specified by:
get
in interfaceIAttribute<ParticleGroup.ParticleBean>
- Returns:
- The value
-
getUnit
public java.lang.String getUnit()
Description copied from interface:IAttribute
Gets the unit in string- Specified by:
getUnit
in interfaceIAttribute<ParticleGroup.ParticleBean>
- Returns:
- The unit of this attribute
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
Description copied from interface:IAttribute
Gets the name- Specified by:
toString
in interfaceIAttribute<ParticleGroup.ParticleBean>
- Overrides:
toString
in classjava.lang.Object
- Returns:
- The name
-
-