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 UCDucd-
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 booleanequals(java.lang.Object o)doubleget(ParticleGroup.ParticleBean bean)Gets the value of this attributejava.lang.StringgetUnit()Gets the unit in stringjava.lang.StringtoString()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:IAttributeGets the value of this attribute- Specified by:
getin interfaceIAttribute<ParticleGroup.ParticleBean>- Returns:
- The value
-
getUnit
public java.lang.String getUnit()
Description copied from interface:IAttributeGets the unit in string- Specified by:
getUnitin interfaceIAttribute<ParticleGroup.ParticleBean>- Returns:
- The unit of this attribute
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
Description copied from interface:IAttributeGets the name- Specified by:
toStringin interfaceIAttribute<ParticleGroup.ParticleBean>- Overrides:
toStringin classjava.lang.Object- Returns:
- The name
-
-