@Immutable
public abstract class Attribute<V>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AttributeKey |
key |
private int |
objectId |
private V |
value |
private int |
variationId |
Constructor and Description |
---|
Attribute(int objectId,
int variationId,
AttributeKey key,
V value) |
Modifier and Type | Method and Description |
---|---|
AttributeKey |
getKey() |
int |
getObjectId() |
V |
getValue() |
int |
getVariationId() |
java.lang.String |
toString() |
private final AttributeKey key
private final V value
private final int objectId
private final int variationId
public Attribute(int objectId, int variationId, AttributeKey key, V value)
public AttributeKey getKey()
public int getObjectId()
public int getVariationId()
public V getValue()
public java.lang.String toString()
toString
in class java.lang.Object