|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mayo.edu.lgModel.LexGridBase
org.LexGrid.REST.concepts.Presentations
public class Presentations
Used to select all of the presentations from an entity. The URL is actually not linkable directly
Constructor Summary | |
---|---|
Presentations()
|
Method Summary | |
---|---|
void |
addPresentation(int index,
Presentation vPresentation)
|
void |
addPresentation(Presentation vPresentation)
|
java.util.Enumeration<? extends Presentation> |
enumeratePresentation()
Method enumeratePresentation. |
Presentation[] |
getPresentation()
Method getPresentation.Returns the contents of the collection in an Array. |
Presentation |
getPresentation(int index)
Method getPresentation. |
java.util.List<Presentation> |
getPresentationAsReference()
Method getPresentationAsReference.Returns a reference to '_presentationList'. |
int |
getPresentationCount()
Method getPresentationCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends Presentation> |
iteratePresentation()
Method iteratePresentation. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllPresentation()
|
boolean |
removePresentation(Presentation vPresentation)
Method removePresentation. |
Presentation |
removePresentationAt(int index)
Method removePresentationAt. |
void |
setPresentation(int index,
Presentation vPresentation)
|
void |
setPresentation(java.util.List<Presentation> vPresentationList)
Sets the value of '_presentationList' by copying the given Vector. |
void |
setPresentation(Presentation[] vPresentationArray)
|
void |
setPresentationAsReference(java.util.List<Presentation> presentationList)
Deprecated. |
static Presentations |
unmarshalPresentations(java.io.Reader reader)
Method unmarshalPresentations. |
void |
validate()
|
Methods inherited from class org.mayo.edu.lgModel.LexGridBase |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Presentations()
Method Detail |
---|
public void addPresentation(Presentation vPresentation) throws java.lang.IndexOutOfBoundsException
vPresentation
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPresentation(int index, Presentation vPresentation) throws java.lang.IndexOutOfBoundsException
index
- vPresentation
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends Presentation> enumeratePresentation()
public Presentation getPresentation(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Presentation[] getPresentation()
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 java.util.List<Presentation> getPresentationAsReference()
public int getPresentationCount()
public boolean isValid()
public java.util.Iterator<? extends Presentation> iteratePresentation()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
- if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllPresentation()
public boolean removePresentation(Presentation vPresentation)
vPresentation
-
public Presentation removePresentationAt(int index)
index
-
public void setPresentation(int index, Presentation vPresentation) throws java.lang.IndexOutOfBoundsException
index
- vPresentation
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPresentation(Presentation[] vPresentationArray)
vPresentationArray
- public void setPresentation(java.util.List<Presentation> vPresentationList)
vPresentationList
- the Vector to copy.public void setPresentationAsReference(java.util.List<Presentation> presentationList)
presentationList
- the Vector to set.public static Presentations unmarshalPresentations(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |