public enum SimplePropertyWriter extends Enum<SimplePropertyWriter>
| Enum Constant and Description |
|---|
BINARY |
BOOLEAN |
DATE |
DATE_TIME |
ENUM |
NUMBER |
NYIMPL |
STRING |
TIME |
TZ_DATE_TIME |
| Modifier and Type | Method and Description |
|---|---|
protected void |
arrayElementStatement(com.squareup.javapoet.MethodSpec.Builder method) |
void |
arrayStatement(com.squareup.javapoet.MethodSpec.Builder method,
PropertySpec propertySpec,
com.squareup.javapoet.ClassName type) |
static SimplePropertyWriter |
forClass(String className) |
abstract void |
singleStatement(com.squareup.javapoet.MethodSpec.Builder method,
PropertySpec propertySpec) |
static SimplePropertyWriter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimplePropertyWriter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimplePropertyWriter STRING
public static final SimplePropertyWriter NUMBER
public static final SimplePropertyWriter BOOLEAN
public static final SimplePropertyWriter BINARY
public static final SimplePropertyWriter DATE
public static final SimplePropertyWriter TIME
public static final SimplePropertyWriter DATE_TIME
public static final SimplePropertyWriter TZ_DATE_TIME
public static final SimplePropertyWriter ENUM
public static final SimplePropertyWriter NYIMPL
public static SimplePropertyWriter[] values()
for (SimplePropertyWriter c : SimplePropertyWriter.values()) System.out.println(c);
public static SimplePropertyWriter valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract void singleStatement(com.squareup.javapoet.MethodSpec.Builder method,
PropertySpec propertySpec)
public void arrayStatement(com.squareup.javapoet.MethodSpec.Builder method,
PropertySpec propertySpec,
com.squareup.javapoet.ClassName type)
protected void arrayElementStatement(com.squareup.javapoet.MethodSpec.Builder method)
public static SimplePropertyWriter forClass(String className)
Copyright © 2019. All rights reserved.