Package jsl.modeling.elements.entity
Class Attribute
- java.lang.Object
-
- jsl.modeling.elements.entity.Attribute
-
- All Implemented Interfaces:
AttributeIfc
,SetValueIfc
,GetValueIfc
public class Attribute extends java.lang.Object implements AttributeIfc
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets this attribute's name.double
getValue()
This method simply returns the value.void
setValue(double value)
Sets the value
-
-
-
Method Detail
-
getName
public final java.lang.String getName()
Gets this attribute's name.- Returns:
- The name of the attribute type.
-
getValue
public double getValue()
Description copied from interface:GetValueIfc
This method simply returns the value.- Specified by:
getValue
in interfaceGetValueIfc
- Returns:
- The value.
-
setValue
public void setValue(double value)
Description copied from interface:SetValueIfc
Sets the value- Specified by:
setValue
in interfaceSetValueIfc
- Parameters:
value
- used in the setting.
-
-