public class FileType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for FileType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FileType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
<element name="path" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
<element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="hash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="refreshFlag" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="storage" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
<element name="storageDefinition" type="{http://xml.vidispine.com/schema/vidispine}StorageType" minOccurs="0"/>
<element name="item" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
<element name="shape" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
<element name="component" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}SimpleMetadataType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
FileType.Item
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
hash |
protected String |
id |
protected List<FileType.Item> |
item |
protected SimpleMetadataType |
metadata |
protected String |
path |
protected Integer |
refreshFlag |
protected Long |
size |
protected String |
state |
protected String |
storage |
protected StorageType |
storageDefinition |
protected XMLGregorianCalendar |
timestamp |
protected List<String> |
uri |
| Constructor and Description |
|---|
FileType() |
| 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() |
String |
getHash()
Gets the value of the hash property.
|
String |
getId()
Gets the value of the id property.
|
List<FileType.Item> |
getItem()
Gets the value of the item property.
|
SimpleMetadataType |
getMetadata()
Gets the value of the metadata property.
|
String |
getPath()
Gets the value of the path property.
|
Integer |
getRefreshFlag()
Gets the value of the refreshFlag property.
|
Long |
getSize()
Gets the value of the size property.
|
String |
getState()
Gets the value of the state property.
|
String |
getStorage()
Gets the value of the storage property.
|
StorageType |
getStorageDefinition()
Gets the value of the storageDefinition property.
|
XMLGregorianCalendar |
getTimestamp()
Gets the value of the timestamp property.
|
List<String> |
getUri()
Gets the value of the uri property.
|
boolean |
isSetHash() |
boolean |
isSetId() |
boolean |
isSetItem() |
boolean |
isSetMetadata() |
boolean |
isSetPath() |
boolean |
isSetRefreshFlag() |
boolean |
isSetSize() |
boolean |
isSetState() |
boolean |
isSetStorage() |
boolean |
isSetStorageDefinition() |
boolean |
isSetTimestamp() |
boolean |
isSetUri() |
void |
setHash(String value)
Sets the value of the hash property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setMetadata(SimpleMetadataType value)
Sets the value of the metadata property.
|
void |
setPath(String value)
Sets the value of the path property.
|
void |
setRefreshFlag(Integer value)
Sets the value of the refreshFlag property.
|
void |
setSize(Long value)
Sets the value of the size property.
|
void |
setState(String value)
Sets the value of the state property.
|
void |
setStorage(String value)
Sets the value of the storage property.
|
void |
setStorageDefinition(StorageType value)
Sets the value of the storageDefinition property.
|
void |
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.
|
void |
unsetItem() |
void |
unsetUri() |
FileType |
withHash(String value) |
FileType |
withId(String value) |
FileType |
withItem(Collection<FileType.Item> values) |
FileType |
withItem(FileType.Item... values) |
FileType |
withMetadata(SimpleMetadataType value) |
FileType |
withPath(String value) |
FileType |
withRefreshFlag(Integer value) |
FileType |
withSize(Long value) |
FileType |
withState(String value) |
FileType |
withStorage(String value) |
FileType |
withStorageDefinition(StorageType value) |
FileType |
withTimestamp(XMLGregorianCalendar value) |
FileType |
withUri(Collection<String> values) |
FileType |
withUri(String... values) |
protected String id
protected String path
protected String state
protected Long size
protected String hash
protected XMLGregorianCalendar timestamp
protected Integer refreshFlag
protected String storage
protected StorageType storageDefinition
protected List<FileType.Item> item
protected SimpleMetadataType metadata
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 List<String> getUri()
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 uri property.
For example, to add a new item, do as follows:
getUri().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetUri()
public void unsetUri()
public String getState()
Stringpublic void setState(String value)
value - allowed object is
Stringpublic boolean isSetState()
public void setSize(Long value)
value - allowed object is
Longpublic boolean isSetSize()
public String getHash()
Stringpublic void setHash(String value)
value - allowed object is
Stringpublic boolean isSetHash()
public XMLGregorianCalendar getTimestamp()
XMLGregorianCalendarpublic void setTimestamp(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetTimestamp()
public Integer getRefreshFlag()
Integerpublic void setRefreshFlag(Integer value)
value - allowed object is
Integerpublic boolean isSetRefreshFlag()
public String getStorage()
Stringpublic void setStorage(String value)
value - allowed object is
Stringpublic boolean isSetStorage()
public StorageType getStorageDefinition()
StorageTypepublic void setStorageDefinition(StorageType value)
value - allowed object is
StorageTypepublic boolean isSetStorageDefinition()
public List<FileType.Item> getItem()
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 item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
FileType.Item
public boolean isSetItem()
public void unsetItem()
public SimpleMetadataType getMetadata()
SimpleMetadataTypepublic void setMetadata(SimpleMetadataType value)
value - allowed object is
SimpleMetadataTypepublic boolean isSetMetadata()
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 FileType withUri(Collection<String> values)
public FileType withTimestamp(XMLGregorianCalendar value)
public FileType withStorageDefinition(StorageType value)
public FileType withItem(FileType.Item... values)
public FileType withItem(Collection<FileType.Item> values)
public FileType withMetadata(SimpleMetadataType value)
Copyright © 2015. All rights reserved.