container/services/src/main/java/org/mobicents/slee/container/deployment/ConcreteSbbGenerator.java
private void createSbbEntityGetterAndSetter(CtClass sbbConcrete)
			throws DeploymentException {
		try {
			CtMethod getSbbEntity = CtNewMethod
					.make("public " + SbbEntity.class.getName()
							+ " getSbbEntity() { return this.sbbEntity; }",
							sbbConcrete);
			getSbbEntity.setModifiers(Modifier.PUBLIC);
			sbbConcrete.addMethod(getSbbEntity);
			CtMethod setSbbEntity = CtNewMethod.make(
					"public void setSbbEntity ( " + SbbEntity.class.getName()
							+ " sbbEntity )" + "{"
							+ "this.sbbEntity = sbbEntity;" + "}", sbbConcrete);

			setSbbEntity.setModifiers(Modifier.PUBLIC);
			sbbConcrete.addMethod(setSbbEntity);
		} catch (Exception e) {
			throw new DeploymentException(e.getMessage(), e);
		}
	}
private void createSbbEntityGetterAndSetter(CtClass sbbConcrete)
			throws DeploymentException {
		try {
			CtMethod getSbbEntity = CtNewMethod
					.make("public " + SbbEntity.class.getName()
							+ " getSbbEntity() { return this.sbbEntity; }",
							sbbConcrete);
			getSbbEntity.setModifiers(Modifier.PUBLIC);
			sbbConcrete.addMethod(getSbbEntity);
			CtMethod setSbbEntity = CtNewMethod.make(
					"public void setSbbEntity ( " + SbbEntity.class.getName()
							+ " sbbEntity )" + "{"
							+ "this.sbbEntity = sbbEntity;" + "}", sbbConcrete);

			setSbbEntity.setModifiers(Modifier.PUBLIC);
			sbbConcrete.addMethod(setSbbEntity);
		} catch (Exception e) {
			throw new DeploymentException(e.getMessage(), e);
		}
	}
private void createSbbEntityGetterAndSetter ( CtClass sbbConcrete ) throws DeploymentException { try { CtMethod getSbbEntity = CtNewMethod . make ( "public " + SbbEntity . class . getName ( ) + " getSbbEntity() { return this.sbbEntity; }" , sbbConcrete ) ; getSbbEntity . setModifiers ( Modifier . PUBLIC ) ; sbbConcrete . addMethod ( getSbbEntity ) ; CtMethod setSbbEntity = CtNewMethod . make ( "public void setSbbEntity ( " + SbbEntity . class . getName ( ) + " sbbEntity )" + "{" + "this.sbbEntity = sbbEntity;" + "}" , sbbConcrete ) ; setSbbEntity . setModifiers ( Modifier . PUBLIC ) ; sbbConcrete . addMethod ( setSbbEntity ) ; } catch ( Exception e ) { throw new DeploymentException ( e . getMessage ( ) , e ) ; } }
Create a method to retrive the entity from the SbbObject.

@param sbbConcrete
@throws DeploymentException
Create a method to retrive the entity from the SbbObject .