|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--planetj.database.field.FieldSetCollection
Contains any number of related FieldSet objects. Subclasses must provide a default constructor.
Constructor Summary | |
FieldSetCollection()
|
|
FieldSetCollection(int initialCapacity)
|
|
FieldSetCollection(List pFS)
Creates a FielsSetCollection using a list of fields sets. |
|
FieldSetCollection(List pFieldNameSets,
Row pRow)
Gets a List containing FieldSet objects. |
|
FieldSetCollection(Row pRow)
|
|
FieldSetCollection(String pName)
|
Method Summary | |
FieldSet |
addFieldSet(FieldSet pFS)
Adds a new FieldSet to this FieldSetCollection, replacing any previous FieldSet with the same name |
Object |
clone()
Clone of FieldSetCollection. |
int |
compareTo(FieldSetCollection pFS)
Compares this FieldSetCollection with another by examining their names. |
int |
compareTo(Object o)
Compares this FieldSetCollection with another by examining their names, or compares this FieldSetCollection to a String (in this case this FieldSetCollection's name is compared with the String). |
int |
compareTo(String pName)
Compares the name of this FieldSetCollection with a String. |
boolean |
containsFieldSet(String pName)
|
boolean |
displayHeaderRow()
True if header should be displayed. |
boolean |
displayHeaderRowAsLegend()
True if header should be displayed. |
Object |
get(Object pKey)
|
Set |
getAllFields()
Gets a List containing the names of all the fields in all of the field sets that have been set on this FieldSetCollection. |
List |
getAllFieldSetNames()
Gets a List containing the names of all the field sets that have been set on this FieldSetCollection. |
FieldSet |
getFieldSet(String pName)
Gets the FieldSet with the specified name |
FieldSetCollection |
getFieldSetCollectionForGivenFields(List pFieldNames,
boolean pShowEmpty)
Get a FieldSetCollection that contains only fields sets that contain the given fields. |
List |
getFieldSets()
Gets a List containing all of the field sets. |
String |
getName()
Gets the name of this FieldSetCollection. |
Iterator |
iterator()
Gets an Iterator for this FieldSetCollection. |
Object |
put(Object pKey,
Object pValue)
|
Object |
remove(Object pKey)
Removes a FieldSet object to this FieldSetCollection |
Object |
remove(String pName)
Removes a FieldSet object to this FieldSetCollection |
FieldSet |
removeFieldSet(FieldSet pFS)
Removes a FieldSet object to this FieldSetCollection |
void |
setDisplayHeaderRow(boolean display)
Set header to display. |
void |
setDisplayHeaderRowAsLegend(boolean isLegend)
Set header to display. |
void |
setName(String newName)
Sets the name of this FieldSetCollection. |
String |
toString()
|
Methods inherited from class java.util.HashMap |
clear, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Constructor Detail |
public FieldSetCollection()
public FieldSetCollection(int initialCapacity)
initialCapacity
- intpublic FieldSetCollection(String pName)
public FieldSetCollection(List pFS)
public FieldSetCollection(List pFieldNameSets, Row pRow) throws CMException
public FieldSetCollection(Row pRow) throws CMException
Method Detail |
public FieldSet addFieldSet(FieldSet pFS)
public Object clone()
clone
in class HashMap
public int compareTo(Object o)
compareTo
in interface Comparable
public int compareTo(String pName)
public int compareTo(FieldSetCollection pFS)
public boolean containsFieldSet(String pName)
public boolean displayHeaderRow()
public boolean displayHeaderRowAsLegend()
public Object get(Object pKey)
get
in interface Map
get
in class HashMap
public Set getAllFields()
public List getAllFieldSetNames()
public FieldSet getFieldSet(String pName)
public FieldSetCollection getFieldSetCollectionForGivenFields(List pFieldNames, boolean pShowEmpty) throws CMException
CMException
public List getFieldSets()
public String getName()
public Iterator iterator()
public Object put(Object pKey, Object pValue)
put
in interface Map
put
in class HashMap
public Object remove(Object pKey)
remove
in interface Map
remove
in class HashMap
public Object remove(String pName)
public FieldSet removeFieldSet(FieldSet pFS)
public void setDisplayHeaderRow(boolean display)
public void setDisplayHeaderRowAsLegend(boolean isLegend)
public void setName(String newName)
public String toString()
toString
in class AbstractMap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |