public class AttributeModifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
amount |
private java.util.UUID |
id |
private boolean |
isSaved |
private java.lang.String |
name |
private int |
operation |
Constructor and Description |
---|
AttributeModifier(java.lang.String nameIn,
double amountIn,
int operationIn) |
AttributeModifier(java.util.UUID idIn,
java.lang.String nameIn,
double amountIn,
int operationIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
double |
getAmount() |
java.util.UUID |
getID() |
java.lang.String |
getName() |
int |
getOperation() |
int |
hashCode() |
boolean |
isSaved() |
AttributeModifier |
setSaved(boolean saved) |
java.lang.String |
toString() |
private final double amount
private final int operation
private final java.lang.String name
private final java.util.UUID id
private boolean isSaved
public AttributeModifier(java.lang.String nameIn, double amountIn, int operationIn)
public AttributeModifier(java.util.UUID idIn, java.lang.String nameIn, double amountIn, int operationIn)
public java.util.UUID getID()
public java.lang.String getName()
public int getOperation()
public double getAmount()
public boolean isSaved()
public AttributeModifier setSaved(boolean saved)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object