|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.alm.connector.data.WorkItemFieldDef
public class WorkItemFieldDef
WorkItemFieldDef is a data structure for holding the defintion of a single work item attribute (a.k.a field.)
RowDef
,
WorkItem
,
WorkItemQuery
,
WorkItemQueryDef
Field Summary | |
---|---|
static java.lang.String |
BOOLEAN_DATATYPE
|
static java.lang.String |
CHECKBOX_CONTROL_NAME
|
static java.lang.String |
COMBOBOX_CONTROL_NAME
|
static java.lang.String |
DATE_DATATYPE
|
static java.lang.String |
DOUBLE_DATATYPE
|
static java.lang.String |
INPUT_DATE_CONTROL_NAME
|
static java.lang.String |
INPUT_TEXT_CONTROL_NAME
|
static java.lang.String |
LIST_CONTROL_NAME
|
static java.lang.String |
LISTOFVALUES_CONTROL_NAME
|
static java.lang.String |
LOV_FETCHMODE_MULTIPLE
|
static java.lang.String |
LOV_FETCHMODE_SINGLE
|
static java.lang.String |
NUMBER_DATATYPE
|
static java.lang.String |
PROPERTY_COMBOBOX_EMPTYENTRY
|
static java.lang.String |
PROPERTY_COMBOBOX_EMPTYENTRY_VALUE
|
static java.lang.String |
PROPERTY_DATEFORMAT
|
static java.lang.String |
PROPERTY_HINT
|
static java.lang.String |
PROPERTY_LOV_FETCH_MODE
|
static java.lang.String |
PROPERTY_MAXLENTH
|
static java.lang.String |
PROPERTY_VISIBLE
|
static java.lang.String |
RADIO_CONTROL_NAME
|
static java.lang.String |
STRING_DATATYPE
|
static java.lang.String |
TEXTAREA_CONTROL_NAME
|
static java.lang.String |
WEB_URL
|
Constructor Summary | |
---|---|
WorkItemFieldDef()
|
Method Summary | |
---|---|
WorkItemFieldDef |
clone(WorkItemFieldDef source)
Makes a copy of WorkItemFieldDef based on current instance |
java.lang.String |
getColName()
Retrieves the field name of the corresponding field in data source |
java.lang.String |
getControlType()
Retrieves the control type of the field |
java.lang.Object |
getDefaultValue()
Retrieves the default value for the field |
java.lang.String |
getJavaType()
Retrieves the Java type of the work item field |
java.lang.String |
getLabel()
Retrieves the label of the WorkItem attribute |
java.lang.String |
getLovDefName()
Retrieves the LOV definition name for the field |
java.lang.String |
getName()
Retrieves the field name. |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Retrieves the field properties |
java.lang.Object |
getProperty(java.lang.String name)
Retrieves a single property for the field |
ValueResolverDef |
getValueResolverDef()
Retrieves the value resolver definition object for the field |
boolean |
isDeletable()
Determines if the field can be deleted |
boolean |
isQueryable()
Determine if the field is queryable |
boolean |
isQueryDisplayable()
|
boolean |
isReadOnly()
Determines if the field is readOnly |
boolean |
isRequired()
Determines if the field is required |
void |
setColName(java.lang.String colname)
Sets the back end repository field name that this field object is based on |
void |
setControlType(java.lang.String controlType)
Sets the control type of the the field to be rendered as. |
void |
setDefaultValue(java.lang.Object defaultValue)
Sets the default value for the field |
void |
setDeletable(boolean isDeletable)
Marks the field can be deleted |
void |
setJavaType(java.lang.String javaType)
Sets the Java type of the work item field |
void |
setLabel(java.lang.String label)
Sets the label for the attribute |
void |
setLovDefName(java.lang.String lovDefname)
Sets the LOV definition name for the field |
void |
setName(java.lang.String name)
Sets the field name. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets the field properties |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a single property for the field |
void |
setQueryable(boolean queryable)
Marks the field as Queryable |
void |
setQueryDisplayable(boolean queryDisplayable)
Determine if the field can be displayable in the query result table. |
void |
setReadOnly(boolean readOnly)
Marks the field as read only |
void |
setRequired(boolean isMandatory)
Marks the field as required |
void |
setValueResolverDef(ValueResolverDef valResolverDef)
Sets the value resolver definition object for the field |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WEB_URL
public static final java.lang.String DATE_DATATYPE
public static final java.lang.String STRING_DATATYPE
public static final java.lang.String NUMBER_DATATYPE
public static final java.lang.String BOOLEAN_DATATYPE
public static final java.lang.String DOUBLE_DATATYPE
public static final java.lang.String INPUT_TEXT_CONTROL_NAME
public static final java.lang.String INPUT_DATE_CONTROL_NAME
public static final java.lang.String TEXTAREA_CONTROL_NAME
public static final java.lang.String LISTOFVALUES_CONTROL_NAME
public static final java.lang.String COMBOBOX_CONTROL_NAME
public static final java.lang.String RADIO_CONTROL_NAME
public static final java.lang.String CHECKBOX_CONTROL_NAME
public static final java.lang.String LIST_CONTROL_NAME
public static final java.lang.String PROPERTY_VISIBLE
public static final java.lang.String PROPERTY_MAXLENTH
public static final java.lang.String PROPERTY_HINT
public static final java.lang.String PROPERTY_DATEFORMAT
public static final java.lang.String PROPERTY_COMBOBOX_EMPTYENTRY
public static final java.lang.String PROPERTY_COMBOBOX_EMPTYENTRY_VALUE
public static final java.lang.String PROPERTY_LOV_FETCH_MODE
public static final java.lang.String LOV_FETCHMODE_SINGLE
public static final java.lang.String LOV_FETCHMODE_MULTIPLE
Constructor Detail |
---|
public WorkItemFieldDef()
Method Detail |
---|
public void setName(java.lang.String name)
name
- the name of a single WorkItem fieldpublic java.lang.String getName()
public void setColName(java.lang.String colname)
colname
- the name of the corresponding field in data sourcepublic java.lang.String getColName()
public void setLabel(java.lang.String label)
label
- public java.lang.String getLabel()
public void setJavaType(java.lang.String javaType)
javaType
- public java.lang.String getJavaType()
public void setDefaultValue(java.lang.Object defaultValue)
defaultValue
- public java.lang.Object getDefaultValue()
public void setControlType(java.lang.String controlType)
controlType
- public java.lang.String getControlType()
public void setLovDefName(java.lang.String lovDefname)
lovDefname
- public java.lang.String getLovDefName()
public void setRequired(boolean isMandatory)
isMandatory
- true if the field is requiredpublic boolean isRequired()
public void setQueryable(boolean queryable)
queryable
- true if the field is queryablepublic boolean isQueryable()
public void setQueryDisplayable(boolean queryDisplayable)
queryDisplayable
- true if the column data for field will be
displayed in the query result table, false not.public boolean isQueryDisplayable()
public void setReadOnly(boolean readOnly)
readOnly
- true if the field is read onlypublic boolean isReadOnly()
public void setDeletable(boolean isDeletable)
isDeletable
- true if the field can be deletedpublic boolean isDeletable()
public void setValueResolverDef(ValueResolverDef valResolverDef)
valResolverDef
- the value resolver definition object to use by the fieldpublic ValueResolverDef getValueResolverDef()
public java.lang.Object getProperty(java.lang.String name)
name
- property name
public void setProperty(java.lang.String name, java.lang.Object value)
name
- property namevalue
- property valuepublic void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- a map that contains propertiespublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public WorkItemFieldDef clone(WorkItemFieldDef source)
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 1 (11.1.1) E14128-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |