code: public Endpoint getEndpoint(ModuleIdentifier identifier) {
  		for (Endpoint endpoint : getEndpoints()) {
  			if (endpoint.getIdentifier().equals(identifier)) {
  				return endpoint;
  			}
  		}
  		return null;
  	}
docs: returns the Endpoint with the identifier passed as argument if not found
  returns null
  
  @param identifier
  @return Endpoint