Class FileType
- java.lang.Object
-
- com.vidispine.generated.FileType
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.CopyTo2
,org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
public class FileType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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="sequence" type="{http://www.w3.org/2001/XMLSchema}boolean" 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"/> <element name="range" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType> </element> <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileType.Item
Java class for anonymous complex type.static class
FileType.PropInfo
static class
FileType.Range
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected String
hash
protected String
id
protected List<FileType.Item>
item
protected SimpleMetadataType
metadata
protected String
path
protected List<FileType.Range>
range
protected Integer
refreshFlag
protected Boolean
sequence
protected Long
size
protected String
state
protected String
storage
protected StorageType
storageDefinition
protected XMLGregorianCalendar
timestamp
protected String
type
protected List<String>
uri
-
Constructor Summary
Constructors Constructor Description FileType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
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.List<FileType.Range>
getRange()
Gets the value of the range 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.String
getType()
Gets the value of the type property.List<String>
getUri()
Gets the value of the uri property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Boolean
isSequence()
Gets the value of the sequence property.boolean
isSetHash()
boolean
isSetId()
boolean
isSetItem()
boolean
isSetMetadata()
boolean
isSetPath()
boolean
isSetRange()
boolean
isSetRefreshFlag()
boolean
isSetSequence()
boolean
isSetSize()
boolean
isSetState()
boolean
isSetStorage()
boolean
isSetStorageDefinition()
boolean
isSetTimestamp()
boolean
isSetType()
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
setSequence(Boolean value)
Sets the value of the sequence 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
setType(String value)
Sets the value of the type property.void
unsetItem()
void
unsetRange()
void
unsetUri()
FileType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
FileType
withHash(String value)
FileType
withId(String value)
FileType
withItem(FileType.Item... values)
FileType
withItem(Collection<FileType.Item> values)
FileType
withMetadata(SimpleMetadataType value)
FileType
withPath(String value)
FileType
withRange(FileType.Range... values)
FileType
withRange(Collection<FileType.Range> values)
FileType
withRefreshFlag(Integer value)
FileType
withSequence(Boolean value)
FileType
withSize(Long value)
FileType
withState(String value)
FileType
withStorage(String value)
FileType
withStorageDefinition(StorageType value)
FileType
withTimestamp(XMLGregorianCalendar value)
FileType
withType(String value)
FileType
withUri(String... values)
FileType
withUri(Collection<String> values)
-
-
-
Field Detail
-
id
protected String id
-
path
protected String path
-
state
protected String state
-
size
protected Long size
-
hash
protected String hash
-
timestamp
protected XMLGregorianCalendar timestamp
-
refreshFlag
protected Integer refreshFlag
-
sequence
protected Boolean sequence
-
storage
protected String storage
-
storageDefinition
protected StorageType storageDefinition
-
item
protected List<FileType.Item> item
-
metadata
protected SimpleMetadataType metadata
-
range
protected List<FileType.Range> range
-
type
protected String type
-
-
Method Detail
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
isSetId
public boolean isSetId()
-
getPath
public String getPath()
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value
- allowed object isString
-
isSetPath
public boolean isSetPath()
-
getUri
public List<String> getUri()
Gets the value of the uri property.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
-
isSetUri
public boolean isSetUri()
-
unsetUri
public void unsetUri()
-
getState
public String getState()
Gets the value of the state property.- Returns:
- possible object is
String
-
setState
public void setState(String value)
Sets the value of the state property.- Parameters:
value
- allowed object isString
-
isSetState
public boolean isSetState()
-
setSize
public void setSize(Long value)
Sets the value of the size property.- Parameters:
value
- allowed object isLong
-
isSetSize
public boolean isSetSize()
-
getHash
public String getHash()
Gets the value of the hash property.- Returns:
- possible object is
String
-
setHash
public void setHash(String value)
Sets the value of the hash property.- Parameters:
value
- allowed object isString
-
isSetHash
public boolean isSetHash()
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
isSetTimestamp
public boolean isSetTimestamp()
-
getRefreshFlag
public Integer getRefreshFlag()
Gets the value of the refreshFlag property.- Returns:
- possible object is
Integer
-
setRefreshFlag
public void setRefreshFlag(Integer value)
Sets the value of the refreshFlag property.- Parameters:
value
- allowed object isInteger
-
isSetRefreshFlag
public boolean isSetRefreshFlag()
-
isSequence
public Boolean isSequence()
Gets the value of the sequence property.- Returns:
- possible object is
Boolean
-
setSequence
public void setSequence(Boolean value)
Sets the value of the sequence property.- Parameters:
value
- allowed object isBoolean
-
isSetSequence
public boolean isSetSequence()
-
getStorage
public String getStorage()
Gets the value of the storage property.- Returns:
- possible object is
String
-
setStorage
public void setStorage(String value)
Sets the value of the storage property.- Parameters:
value
- allowed object isString
-
isSetStorage
public boolean isSetStorage()
-
getStorageDefinition
public StorageType getStorageDefinition()
Gets the value of the storageDefinition property.- Returns:
- possible object is
StorageType
-
setStorageDefinition
public void setStorageDefinition(StorageType value)
Sets the value of the storageDefinition property.- Parameters:
value
- allowed object isStorageType
-
isSetStorageDefinition
public boolean isSetStorageDefinition()
-
getItem
public List<FileType.Item> getItem()
Gets the value of the item property.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
-
isSetItem
public boolean isSetItem()
-
unsetItem
public void unsetItem()
-
getMetadata
public SimpleMetadataType getMetadata()
Gets the value of the metadata property.- Returns:
- possible object is
SimpleMetadataType
-
setMetadata
public void setMetadata(SimpleMetadataType value)
Sets the value of the metadata property.- Parameters:
value
- allowed object isSimpleMetadataType
-
isSetMetadata
public boolean isSetMetadata()
-
getRange
public List<FileType.Range> getRange()
Gets the value of the range property.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 range property.For example, to add a new item, do as follows:
getRange().add(newItem);
Objects of the following type(s) are allowed in the list
FileType.Range
-
isSetRange
public boolean isSetRange()
-
unsetRange
public void unsetRange()
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
isSetType
public boolean isSetType()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withUri
public FileType withUri(Collection<String> values)
-
withTimestamp
public FileType withTimestamp(XMLGregorianCalendar value)
-
withStorageDefinition
public FileType withStorageDefinition(StorageType value)
-
withItem
public FileType withItem(FileType.Item... values)
-
withItem
public FileType withItem(Collection<FileType.Item> values)
-
withMetadata
public FileType withMetadata(SimpleMetadataType value)
-
withRange
public FileType withRange(FileType.Range... values)
-
withRange
public FileType withRange(Collection<FileType.Range> values)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public FileType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-