
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 = "Guid" )
    public class Guid implements IASN1PreparedElement {
    
            @ASN1OctetString( name = "Guid" )
            
            @ASN1SizeConstraint ( max = 16L )
        
            private byte[] value = null;
            
            public Guid() {
            }

            public Guid(byte[] value) {
                this.value = value;
            }

            public Guid(BitString value) {
                setValue(value);
            }
            
            public void setValue(byte[] value) {
                this.value = value;
            }

            public void setValue(BitString btStr) {
                this.value = btStr.getValue();
            }
            
            public byte[] getValue() {
                return this.value;
            }

	    public void initWithDefaults() {
	    }

        private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(Guid.class);
        public IASN1PreparedElementData getPreparedData() {
            return preparedData;
        }


    }
            