public class DDField extends DDBase implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected int |
fType |
fFlist, fIsToModify, fNewCLS_NAME, FIELD_NOT_FOUND_TYPE, FIELD_NUM, kEditable, kEditableColor, kElementID, kFirstElementID, kHGap, kMagentaColor, kNewObject, kNonExistent, kNotEditableColor, kNumberDDFields, kStringLength, kVGap, PKG_NAME| Constructor and Description |
|---|
DDField(DataDictionary dictionary,
String name,
String desc,
int type,
int id) |
DDField(FList list,
boolean newClassOrField) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
protected FList |
createFieldArray(String name,
int number,
int type,
String descr) |
protected static void |
createIconArray() |
protected static void |
createJavaTypeArray() |
protected static void |
createTypeArray() |
boolean |
customField()
Takes an flist specifying a field and checks if it's a custom field.
|
void |
generateCHeaderfileEntry(PrintStream os) |
void |
generateJavaFldFile(String directory,
String packageName) |
void |
generateJavaPropertiesEntry(PrintStream os) |
ImageIcon |
getIcon() |
static ImageIcon |
getIcon(int index) |
String |
getJavaClassName()
Changes Portal-style naming to Java style,
i.e.
|
String |
getJavaTypeString() |
String |
getNumber() |
int |
getTypeIndex() |
static int |
getTypeIndex(String typeString) |
String |
getTypeString() |
static String |
getTypeString(int index) |
compareTo, createFList, getAuditable, getColumn, getCreatePermission, getDescription, getEncryptable, getFList, getLabel, getLength, getModifyPermission, getName, getOrder, getReadAccess, getStartSequenceNumber, getStorage, getTable, getWriteAccess, isNew, isOpenedForModifications, setFieldProperties, setFList, setIsNew, setIsOpenedForModifications, toStringpublic DDField(DataDictionary dictionary, String name, String desc, int type, int id) throws EBufException
EBufExceptionpublic DDField(FList list, boolean newClassOrField) throws EBufException
EBufExceptionprotected static void createTypeArray()
protected static void createJavaTypeArray()
protected static void createIconArray()
public static ImageIcon getIcon(int index)
public static String getTypeString(int index)
public static int getTypeIndex(String typeString)
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionprotected FList createFieldArray(String name, int number, int type, String descr) throws EBufException
EBufExceptionpublic String getNumber() throws EBufException
getNumber in class DDBaseEBufExceptionpublic int getTypeIndex()
getTypeIndex in class DDBasepublic String getTypeString()
getTypeString in class DDBasepublic String getJavaTypeString()
public void generateJavaFldFile(String directory, String packageName) throws EBufException, IOException
EBufExceptionIOExceptionpublic String getJavaClassName() throws EBufException
EBufExceptionpublic final boolean customField()
throws EBufException
EBufExceptionpublic void generateJavaPropertiesEntry(PrintStream os) throws EBufException
EBufExceptionpublic void generateCHeaderfileEntry(PrintStream os) throws EBufException
EBufExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.