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

58 lines
1.3 KiB
Java

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 = "Card" )
public class Card implements IASN1PreparedElement {
@ASN1Integer( name = "Card" )
@ASN1ValueRangeConstraint (
min = 0L,
max = 51L
)
private Integer value;
public Card() {
}
public Card(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(Card.class);
public IASN1PreparedElementData getPreparedData() {
return preparedData;
}
}