Package gaiasky.util.filter.attrib
Interface IAttribute
- All Known Implementing Classes:
AttributeAbsmag,AttributeAppmag,AttributeColorBlue,AttributeColorGreen,AttributeColorRed,AttributeDEC,AttributeDistance,AttributeEclLatitude,AttributeEclLongitude,AttributeGalLatitude,AttributeGalLongitude,AttributeMualpha,AttributeMudelta,AttributeRA,AttributeRadvel,AttributeUCD
public sealed interface IAttribute
permits AttributeAbsmag, AttributeAppmag, AttributeColorBlue, AttributeColorGreen, AttributeColorRed, AttributeDEC, AttributeDistance, AttributeEclLatitude, AttributeEclLongitude, AttributeGalLatitude, AttributeGalLongitude, AttributeMualpha, AttributeMudelta, AttributeRA, AttributeRadvel, AttributeUCD
-
Field Summary
Fields -
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.
-
Field Details
-
aux1
-
aux2
-
-
Method Details
-
get
Gets the value of this attribute.- Parameters:
bean- The particle or star bean.- Returns:
- The value.
-
getNumber
Gets the number value of this attribute.- Parameters:
bean- The particle or star bean.- Returns:
- The number value.
-
getUnit
String getUnit()Gets the unit in string.- Returns:
- The unit of this attribute.
-
toString
String toString()Gets the name. -
isNumberAttribute
boolean isNumberAttribute()Check whether the attribute contains a numeric value.- Returns:
- True if the attribute has a numeric value.
-