Class AttributeUCD
java.lang.Object
gaiasky.util.filter.attrib.AttributeUCD
- All Implemented Interfaces:
IAttribute
-
Field Summary
FieldsFields inherited from interface IAttribute
aux1, aux2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(IParticleRecord bean) Gets the value of this attribute.doublegetNumber(IParticleRecord bean) Gets the number value of this attribute.getUnit()Gets the unit in string.booleanCheck whether the attribute contains a numeric value.toString()Gets the name.
-
Field Details
-
ucd
-
-
Constructor Details
-
AttributeUCD
-
-
Method Details
-
get
Description copied from interface:IAttributeGets the value of this attribute.- Specified by:
getin interfaceIAttribute- Parameters:
bean- The particle or star bean.- Returns:
- The value.
-
getNumber
Description copied from interface:IAttributeGets the number value of this attribute.- Specified by:
getNumberin interfaceIAttribute- Parameters:
bean- The particle or star bean.- Returns:
- The number value.
-
getUnit
Description copied from interface:IAttributeGets the unit in string.- Specified by:
getUnitin interfaceIAttribute- Returns:
- The unit of this attribute.
-
equals
-
toString
Description copied from interface:IAttributeGets the name.- Specified by:
toStringin interfaceIAttribute- Overrides:
toStringin classObject- Returns:
- The name.
-
isNumberAttribute
public boolean isNumberAttribute()Description copied from interface:IAttributeCheck whether the attribute contains a numeric value.- Specified by:
isNumberAttributein interfaceIAttribute- Returns:
- True if the attribute has a numeric value.
-