public class GXFieldCollection extends Object implements GXIFieldCollection, Serializable
Constructor and Description |
---|
GXFieldCollection(GXIField[] fields) |
GXFieldCollection(Vector fields) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
GXIFieldCollection |
getAppFields() |
GXIField |
getFieldAt(int index) |
GXIField |
getFieldByPosition(GXPosition position) |
int |
getFieldCount() |
GXIField |
getFieldInstance(String name,
int fieldIndex) |
GXIField[] |
getFields() |
GXIFieldCollection |
getFields(String name) |
GXIField |
getFirstFieldInstance(String name) |
GXIField |
getLastFieldInstance(String name) |
public GXFieldCollection(GXIField[] fields)
public GXFieldCollection(Vector fields)
public GXIField[] getFields()
getFields
in interface GXIFieldCollection
public GXIField getFieldAt(int index)
getFieldAt
in interface GXIFieldCollection
index
- the index of the field in the collection.public int getFieldCount()
getFieldCount
in interface GXIFieldCollection
public GXIFieldCollection getFields(String name)
getFields
in interface GXIFieldCollection
name
- name of an application fieldpublic GXIFieldCollection getAppFields()
getAppFields
in interface GXIFieldCollection
public GXIField getFirstFieldInstance(String name)
getFirstFieldInstance
in interface GXIFieldCollection
name
- the name of an application field in the collectionpublic GXIField getLastFieldInstance(String name)
getLastFieldInstance
in interface GXIFieldCollection
name
- application field namepublic GXIField getFieldInstance(String name, int fieldIndex)
getFieldInstance
in interface GXIFieldCollection
name
- multiple application field namefieldIndex
- index within the multiple application field.public GXIField getFieldByPosition(GXPosition position)
getFieldByPosition
in interface GXIFieldCollection
position
- the position of the first character of the field.Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.