public abstract class FieldDef
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldDef.FieldType |
Constructor and Description |
---|
FieldDef() |
Modifier and Type | Method and Description |
---|---|
static FieldDef |
create(java.lang.String fieldName,
FieldDef.FieldType fieldType)
Returns a new FieldDef instance
|
abstract java.lang.String |
getName()
Returns the field name.
|
abstract FieldDef.FieldType |
getType()
Returns the field type.
|
abstract boolean |
isEncrypted()
Returns true if the field's value is stored encrypted in memory (optional)
|
abstract boolean |
isNullable()
Returns true if the field is nullable (optional).
|
abstract FieldDef |
setEncrypted(boolean isSecured)
Marks the field as encrypted in memory (optional).
|
abstract FieldDef |
setNullable(boolean isNullable)
Marks the field as being nullable (optional).
|
public static FieldDef create(java.lang.String fieldName, FieldDef.FieldType fieldType)
fieldName
- A string uniquely identifying the field.fieldType
- A FieldDef.FieldType
valuepublic abstract java.lang.String getName()
public abstract FieldDef.FieldType getType()
public abstract boolean isNullable()
public abstract FieldDef setNullable(boolean isNullable)
isNullable
- true or falsepublic abstract boolean isEncrypted()
public abstract FieldDef setEncrypted(boolean isSecured)
isSecured
- true or falseCopyright (c) 2014 Cloud Software Group, Inc. All rights reserved.