public class EncryptedStringField extends Field
Modifier and Type | Field and Description |
---|---|
static int |
ENCRYPTION_NONE
no encryption
|
static int |
ENCRYPTION_ONEWAY
encryption one way.
|
static int |
ENCRYPTION_TWOWAYS
encryption two ways.
|
Constructor and Description |
---|
EncryptedStringField(java.lang.String name,
java.lang.String displayname,
java.lang.String tooltip,
int length,
int encryptiontype)
creates an encrypted string field
|
Modifier and Type | Method and Description |
---|---|
Field |
copy(java.lang.String newname,
java.lang.String newdisplaylabel)
performs a copy of the field with new name and new display label
|
java.lang.String |
getDataObjectConstructorAttributes() |
java.lang.String |
getDataObjectFieldName() |
java.lang.String |
getJavaType() |
StoredElement |
getMainStoredElementForCompositeIndex()
Returns the main stored element of a field to be used in composite index
|
void |
writeDependentClass(SourceGenerator sg,
Module module)
only send here classes that are NOT data objects.
|
copy, getDisplayPriority, getParentObject, isNoUserEdition, isShowinbottomnotes, isShowintitle, setDataObjectDefinition, setDisplayPriority, setNoUserEdition, setShowinbottomnotes, setShowInTitle
addElement, AddElementWithSearch, addIndex, getDisplayname, getElements, getIndex, getSearchWidgetList, getTooltip
changeName, cleanName, equals, getName
public static int ENCRYPTION_NONE
public static int ENCRYPTION_ONEWAY
public static int ENCRYPTION_TWOWAYS
public EncryptedStringField(java.lang.String name, java.lang.String displayname, java.lang.String tooltip, int length, int encryptiontype)
name
- unique name on the data object (should be a valid java
and sql field namedisplayname
- name in the default language for display in the GUItooltip
- mouse roll-over tooltip. Can be longerlength
- length of the stringencryptiontype
- type of encryption (declared as a static int in this
class)public java.lang.String getDataObjectFieldName()
getDataObjectFieldName
in class ObjectElement
public java.lang.String getDataObjectConstructorAttributes()
getDataObjectConstructorAttributes
in class ObjectElement
public java.lang.String getJavaType()
getJavaType
in class ObjectElement
public void writeDependentClass(SourceGenerator sg, Module module) throws java.io.IOException
ObjectElement
writeDependentClass
in class ObjectElement
java.io.IOException
public StoredElement getMainStoredElementForCompositeIndex()
Field
getMainStoredElementForCompositeIndex
in class Field