Files
pokerth/tests/src/pokerth_protocol/AmountOfMoney.java
T

58 lines
1.3 KiB
Java
Raw Normal View History

2011-07-17 14:16:13 +00:00
package pokerth_protocol;
//
// This file was generated by the BinaryNotes compiler.
// See http://bnotes.sourceforge.net
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
//
import org.bn.*;
import org.bn.annotations.*;
import org.bn.annotations.constraints.*;
import org.bn.coders.*;
import org.bn.types.*;
@ASN1PreparedElement
@ASN1BoxedType ( name = "AmountOfMoney" )
public class AmountOfMoney implements IASN1PreparedElement {
@ASN1Integer( name = "AmountOfMoney" )
@ASN1ValueRangeConstraint (
min = 0L,
max = 10000000L
)
private Integer value;
public AmountOfMoney() {
}
public AmountOfMoney(Integer value) {
this.value = value;
}
public void setValue(Integer value) {
this.value = value;
}
public Integer getValue() {
return this.value;
}
public void initWithDefaults() {
}
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AmountOfMoney.class);
public IASN1PreparedElementData getPreparedData() {
return preparedData;
}
}