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

58 lines
1.3 KiB
Java
Raw Normal View History

2010-11-12 12:13:56 +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 = "Id" )
public class Id implements IASN1PreparedElement {
@ASN1Integer( name = "Id" )
@ASN1ValueRangeConstraint (
min = 0L,
max = 4294967295L
)
private Long value;
public Id() {
}
public Id(Long value) {
this.value = value;
}
public void setValue(Long value) {
this.value = value;
}
public Long getValue() {
return this.value;
}
public void initWithDefaults() {
}
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(Id.class);
public IASN1PreparedElementData getPreparedData() {
return preparedData;
}
}