Code example for JaxbOneToOne

Methods: getName

0
		this.oneToOne = oneToOne; 
	} 
 
	@Override 
	protected String getFieldName() { 
		return oneToOne.getName(); 
	} 
 
	@Override 
	protected void processExtra() { 
		List<AnnotationValue> annotationValueList = new ArrayList<AnnotationValue>(); 
		MockHelper.classValue( 
				"targetEntity", oneToOne.getTargetEntity(), annotationValueList, indexBuilder.getServiceRegistry() 
		); 
		MockHelper.enumValue( "fetch", FETCH_TYPE, oneToOne.getFetch(), annotationValueList ); 
		MockHelper.booleanValue( "optional", oneToOne.isOptional(), annotationValueList ); 
		MockHelper.booleanValue( "orphanRemoval", oneToOne.isOrphanRemoval(), annotationValueList ); 
		MockHelper.stringValue( "mappedBy", oneToOne.getMappedBy(), annotationValueList ); 
		MockHelper.cascadeValue( "cascade", oneToOne.getCascade(), isDefaultCascadePersist(), annotationValueList ); 
		create( ONE_TO_ONE, annotationValueList ); 
Experience pair programming with AI  Get Codota for Java