Interface IAttribute
- All Known Implementing Classes:
AttributeAbsmag, AttributeAppmag, AttributeArgPeri, AttributeAscNode, AttributeColorBlue, AttributeColorGreen, AttributeColorRed, AttributeDEC, AttributeDistance, AttributeEccentricity, AttributeEclLatitude, AttributeEclLongitude, AttributeGalLatitude, AttributeGalLongitude, AttributeInclination, AttributeMeanAnomaly, AttributeMualpha, AttributeMudelta, AttributePeriod, AttributeRA, AttributeRadvel, AttributeSma, AttributeUCD, AttributeX, AttributeY, AttributeZ
public sealed interface IAttribute
permits AttributeAbsmag, AttributeAppmag, AttributeColorBlue, AttributeColorGreen, AttributeColorRed, AttributeDEC, AttributeDistance, AttributeEclLatitude, AttributeEclLongitude, AttributeGalLatitude, AttributeGalLongitude, AttributeMualpha, AttributeMudelta, AttributeRA, AttributeRadvel, AttributeUCD, AttributeX, AttributeY, AttributeZ, AttributePeriod, AttributeMeanAnomaly, AttributeArgPeri, AttributeAscNode, AttributeInclination, AttributeEccentricity, AttributeSma
-
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
-
toString
-
isNumberAttribute
boolean isNumberAttribute()Check whether the attribute contains a numeric value.- Returns:
- True if the attribute has a numeric value.
-