public class SortDescription extends ExtensionDescription implements java.io.Serializable
Constructor and Description |
---|
SortDescription() |
Modifier and Type | Method and Description |
---|---|
void |
addRestrictToContext(int index,
SortContext vRestrictToContext) |
void |
addRestrictToContext(SortContext vRestrictToContext) |
java.util.Enumeration<? extends SortContext> |
enumerateRestrictToContext()
Method enumerateRestrictToContext.
|
SortContext[] |
getRestrictToContext()
Method getRestrictToContext.Returns the contents of the
collection in an Array.
|
SortContext |
getRestrictToContext(int index)
Method getRestrictToContext.
|
int |
getRestrictToContextCount()
Method getRestrictToContextCount.
|
java.util.Iterator<? extends SortContext> |
iterateRestrictToContext()
Method iterateRestrictToContext.
|
void |
removeAllRestrictToContext() |
boolean |
removeRestrictToContext(SortContext vRestrictToContext)
Method removeRestrictToContext.
|
SortContext |
removeRestrictToContextAt(int index)
Method removeRestrictToContextAt.
|
void |
setRestrictToContext(int index,
SortContext vRestrictToContext) |
void |
setRestrictToContext(SortContext[] vRestrictToContextArray) |
getExtensionBaseClass, getExtensionClass, getExtensionProvider, setExtensionBaseClass, setExtensionClass, setExtensionProvider
getDescription, getName, getVersion, setDescription, setName, setVersion
public void addRestrictToContext(SortContext vRestrictToContext) throws java.lang.IndexOutOfBoundsException
vRestrictToContext
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addRestrictToContext(int index, SortContext vRestrictToContext) throws java.lang.IndexOutOfBoundsException
index
- vRestrictToContext
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends SortContext> enumerateRestrictToContext()
public SortContext getRestrictToContext(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SortContext[] getRestrictToContext()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getRestrictToContextCount()
public java.util.Iterator<? extends SortContext> iterateRestrictToContext()
public void removeAllRestrictToContext()
public boolean removeRestrictToContext(SortContext vRestrictToContext)
vRestrictToContext
- public SortContext removeRestrictToContextAt(int index)
index
- public void setRestrictToContext(int index, SortContext vRestrictToContext) throws java.lang.IndexOutOfBoundsException
index
- vRestrictToContext
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setRestrictToContext(SortContext[] vRestrictToContextArray)
vRestrictToContextArray
-