Class AttributeRA
java.lang.Object
gaiasky.util.filter.attrib.AttributeAbstract
gaiasky.util.filter.attrib.AttributeRA
- All Implemented Interfaces:
IAttribute
-
Field Summary
Fields inherited from interface IAttribute
aux1, aux2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(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.Methods inherited from class AttributeAbstract
equals
-
Constructor Details
-
AttributeRA
public AttributeRA()
-
-
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.
-
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.
-