code: private void formatRelationshipFlags(final SourceFile src) {
  
  		Long cascadingDelete = getProperty(cascadingDeleteFlag);
  		if (cascadingDelete != null) {
  
  			src.line(this, "@Override");
  			src.begin(this, "public int getCascadingDeleteFlag() {");
  
  			switch (cascadingDelete.intValue()) {
  
  				case Relation.ALWAYS :
  					src.line(this, "return Relation.ALWAYS;");
  					break;
  
  				case Relation.CONSTRAINT_BASED :
  					src.line(this, "return Relation.CONSTRAINT_BASED;");
  					break;
  
  				case Relation.SOURCE_TO_TARGET :
  					src.line(this, "return Relation.SOURCE_TO_TARGET;");
  					break;
  
  				case Relation.TARGET_TO_SOURCE :
  					src.line(this, "return Relation.TARGET_TO_SOURCE;");
  					break;
  
  				case Relation.NONE :
  
  				default :
  					src.line(this, "return Relation.NONE;");
  
  			}
  
  			src.end();
  		}
  
  		Long autocreate = getProperty(autocreationFlag);
  		if (autocreate != null) {
  
  			src.line(this, "@Override");
  			src.begin(this, "public int getAutocreationFlag() {");
  
  			switch (autocreate.intValue()) {
  
  				case Relation.ALWAYS :
  					src.line(this, "return Relation.ALWAYS;");
  					break;
  
  				case Relation.SOURCE_TO_TARGET :
  					src.line(this, "return Relation.SOURCE_TO_TARGET;");
  					break;
  
  				case Relation.TARGET_TO_SOURCE :
  					src.line(this, "return Relation.TARGET_TO_SOURCE;");
  					break;
  
  				default :
  					src.line(this, "return Relation.NONE;");
  
  			}
  
  			src.end();
  		}
  	}
docs: ----- private methods -----