code: SchemaMethodParameter createDatabaseSchema(final App app, final SchemaMethod schemaMethod, final int index) throws FrameworkException {
  
  		final PropertyMap getOrCreateProperties = new PropertyMap();
  		final PropertyMap updateProperties      = new PropertyMap();
  
  		getOrCreateProperties.put(SchemaMethodParameter.name,         getName());
  		getOrCreateProperties.put(SchemaMethodParameter.schemaMethod, schemaMethod);
  
  		SchemaMethodParameter parameter = app.nodeQuery(SchemaMethodParameter.class).and(getOrCreateProperties).getFirst();
  		if (parameter == null) {
  
  			parameter = app.create(SchemaMethodParameter.class, getOrCreateProperties);
  		}
  
  		updateProperties.put(SchemaMethodParameter.parameterType, type);
  		updateProperties.put(SchemaMethodParameter.index, index);
  
  		// update properties
  		parameter.setProperties(SecurityContext.getSuperUserInstance(), updateProperties);
  
  		// return modified property
  		return parameter;
  	}
docs: ----- package methods -----