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

62 lines
1.6 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
@ASN1Enum (
name = "PlayerInfoRights"
)
public class PlayerInfoRights implements IASN1PreparedElement {
public enum EnumType {
@ASN1EnumItem ( name = "playerRightsGuest", hasTag = true , tag = 1 )
playerRightsGuest ,
@ASN1EnumItem ( name = "playerRightsNormal", hasTag = true , tag = 2 )
playerRightsNormal ,
@ASN1EnumItem ( name = "playerRightsAdmin", hasTag = true , tag = 3 )
playerRightsAdmin ,
}
private EnumType value;
private Integer integerForm;
public EnumType getValue() {
return this.value;
}
public void setValue(EnumType value) {
this.value = value;
}
public Integer getIntegerForm() {
return integerForm;
}
public void setIntegerForm(Integer value) {
integerForm = value;
}
public void initWithDefaults() {
}
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerInfoRights.class);
public IASN1PreparedElementData getPreparedData() {
return preparedData;
}
}