public class WeightModifier extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <weightModifier> <value>0</value> <modifierType>EVENT__DESCRIPTION</modifierType> </weightModifier>
Modifier and Type | Class and Description |
---|---|
static class |
WeightModifier.WeightModifierType
content weight type
|
Constructor and Description |
---|
WeightModifier(WeightModifier.WeightModifierType type,
java.lang.Integer value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
WeightModifier.WeightModifierType |
getType() |
java.lang.Integer |
getValue() |
int |
hashCode() |
static boolean |
isValid(WeightModifier modifier) |
void |
setType(WeightModifier.WeightModifierType type) |
void |
setValue(java.lang.Integer value) |
public WeightModifier(WeightModifier.WeightModifierType type, java.lang.Integer value)
type
- value
- public java.lang.Integer getValue()
setValue(Integer)
public void setValue(java.lang.Integer value)
value
- the value to setgetValue()
public WeightModifier.WeightModifierType getType()
setType(WeightModifierType)
public void setType(WeightModifier.WeightModifierType type)
type
- the type to setgetType()
public static boolean isValid(WeightModifier modifier)
modifier
- public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2015 Tampere University of Technology, Pori Department.