Class XmlVariableParameterValueSet
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.XmlVariableParameterValueSet
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,Iterable<VariableParameterValue>
,Collection<VariableParameterValue>
,Set<VariableParameterValue>
,FileSourceContext
,VariableParameterValueSet
public class XmlVariableParameterValueSet extends Object implements VariableParameterValueSet, FileSourceContext, com.sun.xml.bind.Locatable
XML 3.0 implementation of variable parameter value set- Since:
30/05/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlVariableParameterValueSet()
Constructor for XmlVariableParameterValueSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(VariableParameterValue variableParameterValue)
add.boolean
addAll(Collection<? extends VariableParameterValue> variableParameterValues)
void
clear()
clear.boolean
contains(Object o)
boolean
containsAll(Collection<?> objects)
boolean
equals(Object o)
Set<Integer>
getJAXBVariableValueRefs()
getJAXBVariableValueRefs.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.int
hashCode()
protected void
initialiseVatiableParameterValuesSet()
initialiseVatiableParameterValuesSet.boolean
isEmpty()
isEmpty.Iterator<VariableParameterValue>
iterator()
iterator.boolean
remove(Object o)
boolean
removeAll(Collection<?> objects)
boolean
retainAll(Collection<?> objects)
void
setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorint
size()
size.Locator
sourceLocation()
Object[]
toArray()
toArray.<T> T[]
toArray(T[] ts)
toArray.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface psidev.psi.mi.jami.datasource.FileSourceContext
toString
-
Methods inherited from interface java.util.Set
spliterator
-
-
-
-
Method Detail
-
initialiseVatiableParameterValuesSet
protected void initialiseVatiableParameterValuesSet()
initialiseVatiableParameterValuesSet.
-
size
public int size()
size.
- Specified by:
size
in interfaceCollection<VariableParameterValue>
- Specified by:
size
in interfaceSet<VariableParameterValue>
- Returns:
- a int.
-
isEmpty
public boolean isEmpty()
isEmpty.
- Specified by:
isEmpty
in interfaceCollection<VariableParameterValue>
- Specified by:
isEmpty
in interfaceSet<VariableParameterValue>
- Returns:
- a boolean.
-
contains
public boolean contains(Object o)
- Specified by:
contains
in interfaceCollection<VariableParameterValue>
- Specified by:
contains
in interfaceSet<VariableParameterValue>
-
iterator
public Iterator<VariableParameterValue> iterator()
iterator.
- Specified by:
iterator
in interfaceCollection<VariableParameterValue>
- Specified by:
iterator
in interfaceIterable<VariableParameterValue>
- Specified by:
iterator
in interfaceSet<VariableParameterValue>
- Returns:
- a
Iterator
object.
-
toArray
public Object[] toArray()
toArray.
- Specified by:
toArray
in interfaceCollection<VariableParameterValue>
- Specified by:
toArray
in interfaceSet<VariableParameterValue>
- Returns:
- an array of
Object
objects.
-
toArray
public <T> T[] toArray(T[] ts)
toArray.
- Specified by:
toArray
in interfaceCollection<VariableParameterValue>
- Specified by:
toArray
in interfaceSet<VariableParameterValue>
- Type Parameters:
T
- a T object.- Parameters:
ts
- an array of T objects.- Returns:
- an array of T objects.
-
add
public boolean add(VariableParameterValue variableParameterValue)
add.
- Specified by:
add
in interfaceCollection<VariableParameterValue>
- Specified by:
add
in interfaceSet<VariableParameterValue>
- Parameters:
variableParameterValue
- aVariableParameterValue
object.- Returns:
- a boolean.
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<VariableParameterValue>
- Specified by:
remove
in interfaceSet<VariableParameterValue>
-
containsAll
public boolean containsAll(Collection<?> objects)
- Specified by:
containsAll
in interfaceCollection<VariableParameterValue>
- Specified by:
containsAll
in interfaceSet<VariableParameterValue>
-
addAll
public boolean addAll(Collection<? extends VariableParameterValue> variableParameterValues)
- Specified by:
addAll
in interfaceCollection<VariableParameterValue>
- Specified by:
addAll
in interfaceSet<VariableParameterValue>
-
retainAll
public boolean retainAll(Collection<?> objects)
- Specified by:
retainAll
in interfaceCollection<VariableParameterValue>
- Specified by:
retainAll
in interfaceSet<VariableParameterValue>
-
removeAll
public boolean removeAll(Collection<?> objects)
- Specified by:
removeAll
in interfaceCollection<VariableParameterValue>
- Specified by:
removeAll
in interfaceSet<VariableParameterValue>
-
clear
public void clear()
clear.
- Specified by:
clear
in interfaceCollection<VariableParameterValue>
- Specified by:
clear
in interfaceSet<VariableParameterValue>
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceCollection<VariableParameterValue>
- Specified by:
equals
in interfaceSet<VariableParameterValue>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection<VariableParameterValue>
- Specified by:
hashCode
in interfaceSet<VariableParameterValue>
- Overrides:
hashCode
in classObject
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
setSourceLocation
public void setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.
- Parameters:
sourceLocator
- aPsiXmlLocator
object.
-
-