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