javagen.field.def_primitive.ssp Maven / Gradle / Ivy
The newest version!
<%
// Copyright 2013 Foursquare Labs Inc. All Rights Reserved.
import com.foursquare.spindle.codegen.runtime.ScalaField
%>
<%@ val field: ScalaField %>
public ${field.renderType.javaText} ${field.escapedName}();
public scala.Option<${field.renderType.javaContainerText}> ${field.name}Option();
public ${field.renderType.javaText} ${field.name}OrDefault();
public ${field.renderType.javaBoxedText} ${field.name}OrNull();
public ${field.renderType.javaText} ${field.name}OrThrow();
public boolean ${field.isSetName}();
#if (field.isForeignKey)
<% render("def_fk.ssp", Map("field" -> field)) %>
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy