|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldCollection
Represents a collection of Field
s in a WorkItem
object.
Method Summary | |
---|---|
boolean |
contains(java.lang.String name)
|
int |
getAreaID()
Convenience method to get the value of a field in this collection. |
Field |
getField(java.lang.String name)
Gets the Field with the specified name. |
int |
getID()
Convenience method to get the value of a field in this collection. |
int |
getRevision()
Convenience method to get the value of a field in this collection. |
java.lang.String |
getWorkItemType()
Convenience method to get the value of a field in this collection. |
java.util.Iterator<Field> |
iterator()
|
int |
size()
|
Method Detail |
---|
java.util.Iterator<Field> iterator()
iterator
in interface java.lang.Iterable<Field>
Iterator
of Field
sint size()
Field
s in this collectionField getField(java.lang.String name)
Field
with the specified name.
name
- the name to get (must not be null
)
Field
java.lang.IllegalArgumentException
- if the field name was not found in this collectionboolean contains(java.lang.String name)
true
if a Field
with the specified name is
in this collection, false
if it is notint getID()
CoreFieldReferenceNames.ID
Field
in this collectionint getRevision()
CoreFieldReferenceNames.REVISION
Field
in this collectionint getAreaID()
CoreFieldReferenceNames.AREA_ID
Field
in this collectionjava.lang.String getWorkItemType()
CoreFieldReferenceNames.WORK_ITEM_TYPE
Field
in this collection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |