public class DDField extends DDBase implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
fType |
fFlist, fIsToModify, fNew
CLS_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, toString
public DDField(DataDictionary dictionary, String name, String desc, int type, int id) throws EBufException
EBufException
public DDField(FList list, boolean newClassOrField) throws EBufException
EBufException
protected 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 Object
CloneNotSupportedException
protected FList createFieldArray(String name, int number, int type, String descr) throws EBufException
EBufException
public String getNumber() throws EBufException
getNumber
in class DDBase
EBufException
public int getTypeIndex()
getTypeIndex
in class DDBase
public String getTypeString()
getTypeString
in class DDBase
public String getJavaTypeString()
public void generateJavaFldFile(String directory, String packageName) throws EBufException, IOException
EBufException
IOException
public String getJavaClassName() throws EBufException
EBufException
public final boolean customField() throws EBufException
EBufException
public void generateJavaPropertiesEntry(PrintStream os) throws EBufException
EBufException
public void generateCHeaderfileEntry(PrintStream os) throws EBufException
EBufException
Copyright © 2003, 2023, Oracle and/or its affiliates.