debug("<getEndEntityProfile(id): "+returnval == null ? "null":"not null");
debug("<getEndEntityProfile(id): "+(returnval == null ? "null":"not null"));
    public EndEntityProfile getEndEntityProfile(Admin admin, int id){    	if (log.isDebugEnabled()) {            debug(">getEndEntityProfile("+id+")");    		    	}        EndEntityProfile returnval=null;        try{            if(id==SecConst.EMPTY_ENDENTITYPROFILE) {                returnval = new EndEntityProfile(true);            }            if(id!=0 && id != SecConst.EMPTY_ENDENTITYPROFILE) {                returnval = (profiledatahome.findByPrimaryKey(new Integer(id))).getProfile();            }        }catch(FinderException e){            // Ignore so we'll return null        }        if (log.isDebugEnabled()) {            debug("<getEndEntityProfile(id): "+returnval == null ? "null":"not null");        	        }        return returnval;    } // getEndEntityProfile