package com.opensource.diacoder;

public class AvpHeader {

	private int avpCode;
	private boolean isVBit;
	private boolean isMBit;
	private boolean isPBit;
	private int VendorId;
	
	public AvpHeader() {
	}

	public int getAvpCode() {
		return avpCode;
	}

	public void setAvpCode(int avpCode) {
		this.avpCode = avpCode;
	}

}

@@ -96,14 +96,19 @@
 ean 
-isVBit
+hasVendorId
 ;%0A%09p
@@ -125,19 +125,24 @@
 lean isM
-Bit
+andatory
 ;%0A%09priva
@@ -158,12 +158,17 @@
 n is
-PBit
+Encrypted
 ;%0A%09p
@@ -178,17 +178,17 @@
 ate int 
-V
+v
 endorId;
@@ -304,16 +304,16 @@
 Code) %7B%0A
-
 %09%09this.a
@@ -334,10 +334,551 @@
 de;%0A%09%7D%0A%0A
+%09public boolean isVendorBit() %7B%0A%09%09return hasVendorId;%0A%09%7D%0A%0A%09public void setVendorBit(boolean isVBit) %7B%0A%09%09this.hasVendorId = isVBit;%0A%09%7D%0A%0A%09public boolean isMandatoryBit() %7B%0A%09%09return isMandatory;%0A%09%7D%0A%0A%09public void setMandatoryBit(boolean isMBit) %7B%0A%09%09this.isMandatory = isMBit;%0A%09%7D%0A%0A%09public boolean isEncryptedBit() %7B%0A%09%09return isEncrypted;%0A%09%7D%0A%0A%09public void setEncryptedBit(boolean isPBit) %7B%0A%09%09this.isEncrypted = isPBit;%0A%09%7D%0A%0A%09public int getVendorId() %7B%0A%09%09return vendorId;%0A%09%7D%0A%0A%09public void setVendorId(int vendorId) %7B%0A%09%09this.vendorId = vendorId;%0A%09%7D%0A%0A
 %7D%0A

add setters and getters