java.io.Serializable
public class FacetList
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
FacetList() |
Creates a new FacetList
|
Modifier and Type | Method | Description |
---|---|---|
void |
add(Facet facet) |
Adds the given Facet to this list
|
void |
add(FacetList facetList) |
Adds the facets from the given list into this FacetList
|
Facet |
contains(java.lang.String name) |
Returns the facet of the list with with the given name.
|
java.util.Enumeration<Facet> |
enumerate() |
Returns an Enumeration of the Facets in this list
|
Facet |
get(int index) |
Returns the facet at the given index
|
Facet |
remove(int index) |
Removes the facet located at the given index
|
boolean |
remove(Facet facet) |
Removes the given Facet from this list
|
int |
size() |
Returns the number of Facets in this list
|
public void add(Facet facet)
facet
- the facet to addpublic void add(FacetList facetList)
facetList
- the FacetList to copy frompublic Facet get(int index)
index
- the index of the Facet to returnpublic boolean remove(Facet facet)
facet
- the Facet to removepublic Facet remove(int index)
index
- the index of the Facet to removepublic int size()
public java.util.Enumeration<Facet> enumerate()
public Facet contains(java.lang.String name)
name
- the facet name to look for.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com