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.StringgetName()Gets this attribute's name.doublegetValue()This method simply returns the value.voidsetValue(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:GetValueIfcThis method simply returns the value.- Specified by:
getValuein interfaceGetValueIfc- Returns:
- The value.
-
setValue
public void setValue(double value)
Description copied from interface:SetValueIfcSets the value- Specified by:
setValuein interfaceSetValueIfc- Parameters:
value- used in the setting.
-
-