public class CollectionType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for CollectionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CollectionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="content" type="{http://xml.vidispine.com/schema/vidispine}CollectionContentType" maxOccurs="unbounded" minOccurs="0"/>
<element name="project" type="{http://xml.vidispine.com/schema/vidispine}ProjectType" minOccurs="0"/>
<element name="sequence" type="{http://xml.vidispine.com/schema/vidispine}SequenceType" maxOccurs="unbounded" minOccurs="0"/>
<element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}MetadataType" minOccurs="0"/>
<element name="terse" type="{http://xml.vidispine.com/schema/vidispine}GenericType" minOccurs="0"/>
<element name="merged-access" type="{http://xml.vidispine.com/schema/vidispine}AccessControlMergedType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CollectionContentType> |
content |
protected String |
id |
protected String |
loc |
protected AccessControlMergedType |
mergedAccess |
protected MetadataType |
metadata |
protected String |
name |
protected ProjectType |
project |
protected List<SequenceType> |
sequence |
protected GenericType |
terse |
| Constructor and Description |
|---|
CollectionType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
List<CollectionContentType> |
getContent()
Gets the value of the content property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLoc()
Gets the value of the loc property.
|
AccessControlMergedType |
getMergedAccess()
Gets the value of the mergedAccess property.
|
MetadataType |
getMetadata()
Gets the value of the metadata property.
|
String |
getName()
Gets the value of the name property.
|
ProjectType |
getProject()
Gets the value of the project property.
|
List<SequenceType> |
getSequence()
Gets the value of the sequence property.
|
GenericType |
getTerse()
Gets the value of the terse property.
|
boolean |
isSetContent() |
boolean |
isSetId() |
boolean |
isSetLoc() |
boolean |
isSetMergedAccess() |
boolean |
isSetMetadata() |
boolean |
isSetName() |
boolean |
isSetProject() |
boolean |
isSetSequence() |
boolean |
isSetTerse() |
void |
setId(String value)
Sets the value of the id property.
|
void |
setLoc(String value)
Sets the value of the loc property.
|
void |
setMergedAccess(AccessControlMergedType value)
Sets the value of the mergedAccess property.
|
void |
setMetadata(MetadataType value)
Sets the value of the metadata property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setProject(ProjectType value)
Sets the value of the project property.
|
void |
setTerse(GenericType value)
Sets the value of the terse property.
|
void |
unsetContent() |
void |
unsetSequence() |
CollectionType |
withContent(Collection<CollectionContentType> values) |
CollectionType |
withContent(CollectionContentType... values) |
CollectionType |
withId(String value) |
CollectionType |
withLoc(String value) |
CollectionType |
withMergedAccess(AccessControlMergedType value) |
CollectionType |
withMetadata(MetadataType value) |
CollectionType |
withName(String value) |
CollectionType |
withProject(ProjectType value) |
CollectionType |
withSequence(Collection<SequenceType> values) |
CollectionType |
withSequence(SequenceType... values) |
CollectionType |
withTerse(GenericType value) |
protected String loc
protected String id
protected String name
protected List<CollectionContentType> content
protected ProjectType project
protected List<SequenceType> sequence
protected MetadataType metadata
protected GenericType terse
protected AccessControlMergedType mergedAccess
public void setLoc(String value)
value - allowed object is
Stringpublic boolean isSetLoc()
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public List<CollectionContentType> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
CollectionContentType
public boolean isSetContent()
public void unsetContent()
public ProjectType getProject()
ProjectTypepublic void setProject(ProjectType value)
value - allowed object is
ProjectTypepublic boolean isSetProject()
public List<SequenceType> getSequence()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the sequence property.
For example, to add a new item, do as follows:
getSequence().add(newItem);
Objects of the following type(s) are allowed in the list
SequenceType
public boolean isSetSequence()
public void unsetSequence()
public MetadataType getMetadata()
MetadataTypepublic void setMetadata(MetadataType value)
value - allowed object is
MetadataTypepublic boolean isSetMetadata()
public GenericType getTerse()
GenericTypepublic void setTerse(GenericType value)
value - allowed object is
GenericTypepublic boolean isSetTerse()
public AccessControlMergedType getMergedAccess()
AccessControlMergedTypepublic void setMergedAccess(AccessControlMergedType value)
value - allowed object is
AccessControlMergedTypepublic boolean isSetMergedAccess()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic CollectionType withLoc(String value)
public CollectionType withId(String value)
public CollectionType withName(String value)
public CollectionType withContent(CollectionContentType... values)
public CollectionType withContent(Collection<CollectionContentType> values)
public CollectionType withProject(ProjectType value)
public CollectionType withSequence(SequenceType... values)
public CollectionType withSequence(Collection<SequenceType> values)
public CollectionType withMetadata(MetadataType value)
public CollectionType withTerse(GenericType value)
public CollectionType withMergedAccess(AccessControlMergedType value)
Copyright © 2015. All rights reserved.