public class FileReferenceType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for FileReferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FileReferenceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="path" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
</choice>
<element name="hash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="file" type="{http://xml.vidispine.com/schema/vidispine}FileType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<FileType> |
file |
protected String |
hash |
protected String |
id |
protected String |
path |
protected String |
status |
| Constructor and Description |
|---|
FileReferenceType() |
| 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<FileType> |
getFile()
Gets the value of the file property.
|
String |
getHash()
Gets the value of the hash property.
|
String |
getId()
Gets the value of the id property.
|
String |
getPath()
Gets the value of the path property.
|
String |
getStatus()
Gets the value of the status property.
|
boolean |
isSetFile() |
boolean |
isSetHash() |
boolean |
isSetId() |
boolean |
isSetPath() |
boolean |
isSetStatus() |
void |
setHash(String value)
Sets the value of the hash property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setPath(String value)
Sets the value of the path property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
unsetFile() |
FileReferenceType |
withFile(Collection<FileType> values) |
FileReferenceType |
withFile(FileType... values) |
FileReferenceType |
withHash(String value) |
FileReferenceType |
withId(String value) |
FileReferenceType |
withPath(String value) |
FileReferenceType |
withStatus(String value) |
protected String id
protected String path
protected String hash
protected String status
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public String getPath()
Stringpublic void setPath(String value)
value - allowed object is
Stringpublic boolean isSetPath()
public String getHash()
Stringpublic void setHash(String value)
value - allowed object is
Stringpublic boolean isSetHash()
public String getStatus()
Stringpublic void setStatus(String value)
value - allowed object is
Stringpublic boolean isSetStatus()
public List<FileType> getFile()
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 file property.
For example, to add a new item, do as follows:
getFile().add(newItem);
Objects of the following type(s) are allowed in the list
FileType
public boolean isSetFile()
public void unsetFile()
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 FileReferenceType withId(String value)
public FileReferenceType withPath(String value)
public FileReferenceType withHash(String value)
public FileReferenceType withStatus(String value)
public FileReferenceType withFile(FileType... values)
public FileReferenceType withFile(Collection<FileType> values)
Copyright © 2015. All rights reserved.