Class JFieldBuilder
- java.lang.Object
-
- net.anwiba.tools.definition.schema.json.gramma.element.JFieldBuilder
-
- All Implemented Interfaces:
IAnnotatable
public class JFieldBuilder extends java.lang.Object implements IAnnotatable
-
-
Constructor Summary
Constructors Constructor Description JFieldBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(JAnnotation annotation)java.lang.Iterable<JAnnotation>annotations()JFieldbuild()voidfieldComment(java.lang.String comment)voidgetterComment(java.lang.String comment)voidname(java.lang.String name)voidsetterComment(java.lang.String comment)voidtype(JType type)voidvalue(JValue value)
-
-
-
Method Detail
-
annotations
public java.lang.Iterable<JAnnotation> annotations()
-
add
public void add(JAnnotation annotation)
- Specified by:
addin interfaceIAnnotatable
-
build
public JField build()
-
value
public void value(JValue value)
-
name
public void name(java.lang.String name)
-
type
public void type(JType type)
-
fieldComment
public void fieldComment(java.lang.String comment)
-
setterComment
public void setterComment(java.lang.String comment)
-
getterComment
public void getterComment(java.lang.String comment)
-
-