|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.msponer.android.yac.xml.WorkItemElementEntry
public class WorkItemElementEntry
Class representing a work item XSD data element. A WorkItemElementEntry contains several XSD attributes. Can have a father entry and list of sub-entries. Corresponding YAWL class is: org.yawlfoundation.yawl.resourcing.jsf.dynform.DynFormField
Constructor Summary | |
---|---|
WorkItemElementEntry(String name,
List<WorkItemElementEntry> subElementEntryList)
Constructor setting name and child entries. |
|
WorkItemElementEntry(String name,
String datatype,
String value)
Constructor setting name, datatype and value. |
Method Summary | |
---|---|
void |
addSubField(WorkItemElementEntry field)
Adds the sub field. |
void |
addSubFieldList(List<WorkItemElementEntry> fieldList)
Adds the sub field list. |
WorkItemElementEntry |
clone()
|
String |
getDatatype()
Gets the datatype. |
List<String> |
getEnumeratedValues()
Gets the enumerated values. |
String |
getGroupID()
Gets the group id. |
int |
getId()
Gets the id. |
int |
getLevel()
Gets the level. |
long |
getMaxoccurs()
Gets the maxoccurs. |
long |
getMinoccurs()
Gets the minoccurs. |
String |
getName()
Gets the name. |
long |
getOccursCount()
Gets the occurs count. |
int |
getOrder()
Gets the order. |
WorkItemElementEntry |
getParent()
Gets the parent. |
WorkItemElementRestriction |
getRestriction()
Gets the restriction. |
List<WorkItemElementEntry> |
getSubElementEntryList()
Gets the sub element entry list. |
String |
getValue()
Gets the value. |
int |
getViewId()
Gets the view id. |
boolean |
hasEnumeratedValues()
Checks for enumerated values. |
boolean |
hasRestriction()
Checks for restriction. |
void |
setDatatype(String datatype)
Sets the datatype. |
void |
setEnumeratedValues(List<String> enumValues)
Sets the enumerated values. |
void |
setGroupID(String groupID)
Sets the group id. |
void |
setId(int id)
Sets the id. |
void |
setLevel(int level)
Sets the level. |
void |
setMaxoccurs(String maxoccurs)
Sets the maxoccurs. |
void |
setMinoccurs(String minoccurs)
Sets the minoccurs. |
void |
setName(String name)
Sets the name. |
void |
setOccursCount(long occursCount)
Sets the occurs count. |
void |
setOrder(int order)
Sets the order. |
void |
setParent(WorkItemElementEntry parent)
Sets the parent. |
void |
setRestriction(WorkItemElementRestriction restriction)
Sets the restriction. |
void |
setSubElementEntryList(List<WorkItemElementEntry> subElementEntryList)
Sets the sub element entry list. |
void |
setValue(String value)
Sets the value. |
void |
setViewId(int viewId)
Sets the view id. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkItemElementEntry(String name, List<WorkItemElementEntry> subElementEntryList)
name
- The entry's name.subElementEntryList
- The entry's child elements.public WorkItemElementEntry(String name, String datatype, String value)
name
- The entry's name.datatype
- The entry's datatype.value
- The entry's value.Method Detail |
---|
public void setName(String name)
name
- the new namepublic String getName()
public String getDatatype()
public void setDatatype(String datatype)
datatype
- the new datatypepublic String getValue()
public void setValue(String value)
value
- the new valuepublic long getMinoccurs()
public void setMinoccurs(String minoccurs)
minoccurs
- the new minoccurspublic long getMaxoccurs()
public void setMaxoccurs(String maxoccurs)
maxoccurs
- the new maxoccurspublic void setSubElementEntryList(List<WorkItemElementEntry> subElementEntryList)
subElementEntryList
- the new sub element entry listpublic List<WorkItemElementEntry> getSubElementEntryList()
public void setParent(WorkItemElementEntry parent)
parent
- the new parentpublic WorkItemElementEntry getParent()
public void setLevel(int level)
level
- the new levelpublic int getLevel()
public String getGroupID()
public void setGroupID(String groupID)
groupID
- the new group idpublic void setOccursCount(long occursCount)
occursCount
- the new occurs countpublic long getOccursCount()
public void addSubField(WorkItemElementEntry field)
field
- the fieldpublic void addSubFieldList(List<WorkItemElementEntry> fieldList)
fieldList
- the field listpublic void setOrder(int order)
order
- the new orderpublic int getOrder()
public void setId(int id)
id
- the new idpublic int getId()
public void setViewId(int viewId)
viewId
- the new view idpublic int getViewId()
public WorkItemElementEntry clone()
clone
in class Object
public List<String> getEnumeratedValues()
public void setEnumeratedValues(List<String> enumValues)
enumValues
- the new enumerated valuespublic WorkItemElementRestriction getRestriction()
public void setRestriction(WorkItemElementRestriction restriction)
restriction
- the new restrictionpublic boolean hasEnumeratedValues()
public boolean hasRestriction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |