|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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(java.util.List pFS)
Creates a FielsSetCollection using a list of fields sets. |
|
FieldSetCollection(java.util.List pFieldNameSets,
Row pRow)
Gets a List containing FieldSet objects. |
|
FieldSetCollection(Row pRow)
|
|
FieldSetCollection(java.lang.String pName)
|
Method Summary | |
FieldSet |
addFieldSet(FieldSet pFS)
Adds a new FieldSet to this FieldSetCollection, replacing any previous FieldSet with the same name |
java.lang.Object |
clone()
Clone of FieldSetCollection. |
int |
compareTo(FieldSetCollection pFS)
Compares this FieldSetCollection with another by examining their names. |
int |
compareTo(java.lang.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(java.lang.String pName)
Compares the name of this FieldSetCollection with a String. |
boolean |
containsFieldSet(java.lang.String pName)
|
boolean |
displayHeaderRow()
True if header should be displayed. |
boolean |
displayHeaderRowAsLegend()
True if header should be displayed. |
java.lang.Object |
get(java.lang.Object pKey)
|
java.util.Set |
getAllFields()
Gets a Set containing all the fields in all of the field sets that have been set on this FieldSetCollection. |
java.util.List |
getAllFieldSetNames()
Gets a List containing the names of all the field sets that have been set on this FieldSetCollection. |
FieldSet |
getFieldSet(java.lang.String pName)
Gets the FieldSet with the specified name |
FieldSetCollection |
getFieldSetCollectionForGivenFields(java.util.List pFieldNames,
boolean pShowEmpty)
Get a FieldSetCollection that contains only fields sets that contain the given fields. |
java.util.List |
getFieldSets()
Gets a List containing all of the field sets. |
java.lang.String |
getName()
Gets the name of this FieldSetCollection. |
java.util.Iterator |
iterator()
Gets an Iterator for this FieldSetCollection. |
java.lang.Object |
put(java.lang.Object pKey,
java.lang.Object pValue)
|
java.lang.Object |
remove(java.lang.Object pKey)
Removes a FieldSet object to this FieldSetCollection |
java.lang.Object |
remove(java.lang.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(java.lang.String newName)
Sets the name of this FieldSetCollection. |
java.lang.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 |
finalize, 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(java.lang.String pName)
public FieldSetCollection(java.util.List pFS)
public FieldSetCollection(java.util.List pFieldNameSets, Row pRow) throws CMException
public FieldSetCollection(Row pRow) throws CMException
Method Detail |
public FieldSet addFieldSet(FieldSet pFS)
public java.lang.Object clone()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public int compareTo(java.lang.String pName)
public int compareTo(FieldSetCollection pFS)
public boolean containsFieldSet(java.lang.String pName)
public boolean displayHeaderRow()
public boolean displayHeaderRowAsLegend()
public java.lang.Object get(java.lang.Object pKey)
get
in interface java.util.Map
public java.util.Set getAllFields()
public java.util.List getAllFieldSetNames()
public FieldSet getFieldSet(java.lang.String pName)
public FieldSetCollection getFieldSetCollectionForGivenFields(java.util.List pFieldNames, boolean pShowEmpty) throws CMException
CMException
public java.util.List getFieldSets()
public java.lang.String getName()
public java.util.Iterator iterator()
public java.lang.Object put(java.lang.Object pKey, java.lang.Object pValue)
put
in interface java.util.Map
public java.lang.Object remove(java.lang.Object pKey)
remove
in interface java.util.Map
public java.lang.Object remove(java.lang.String pName)
public FieldSet removeFieldSet(FieldSet pFS)
public void setDisplayHeaderRow(boolean display)
public void setDisplayHeaderRowAsLegend(boolean isLegend)
public void setName(java.lang.String newName)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |