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 classFileType.ItemJava class for anonymous complex type.static classFileType.PropInfostatic classFileType.RangeJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringhashprotected Stringidprotected List<FileType.Item>itemprotected SimpleMetadataTypemetadataprotected Stringpathprotected List<FileType.Range>rangeprotected IntegerrefreshFlagprotected Booleansequenceprotected Longsizeprotected Stringstateprotected Stringstorageprotected StorageTypestorageDefinitionprotected XMLGregorianCalendartimestampprotected Stringtypeprotected List<String>uri
-
Constructor Summary
Constructors Constructor Description FileType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)StringgetHash()Gets the value of the hash property.StringgetId()Gets the value of the id property.List<FileType.Item>getItem()Gets the value of the item property.SimpleMetadataTypegetMetadata()Gets the value of the metadata property.StringgetPath()Gets the value of the path property.List<FileType.Range>getRange()Gets the value of the range property.IntegergetRefreshFlag()Gets the value of the refreshFlag property.LonggetSize()Gets the value of the size property.StringgetState()Gets the value of the state property.StringgetStorage()Gets the value of the storage property.StorageTypegetStorageDefinition()Gets the value of the storageDefinition property.XMLGregorianCalendargetTimestamp()Gets the value of the timestamp property.StringgetType()Gets the value of the type property.List<String>getUri()Gets the value of the uri property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)BooleanisSequence()Gets the value of the sequence property.booleanisSetHash()booleanisSetId()booleanisSetItem()booleanisSetMetadata()booleanisSetPath()booleanisSetRange()booleanisSetRefreshFlag()booleanisSetSequence()booleanisSetSize()booleanisSetState()booleanisSetStorage()booleanisSetStorageDefinition()booleanisSetTimestamp()booleanisSetType()booleanisSetUri()voidsetHash(String value)Sets the value of the hash property.voidsetId(String value)Sets the value of the id property.voidsetMetadata(SimpleMetadataType value)Sets the value of the metadata property.voidsetPath(String value)Sets the value of the path property.voidsetRefreshFlag(Integer value)Sets the value of the refreshFlag property.voidsetSequence(Boolean value)Sets the value of the sequence property.voidsetSize(Long value)Sets the value of the size property.voidsetState(String value)Sets the value of the state property.voidsetStorage(String value)Sets the value of the storage property.voidsetStorageDefinition(StorageType value)Sets the value of the storageDefinition property.voidsetTimestamp(XMLGregorianCalendar value)Sets the value of the timestamp property.voidsetType(String value)Sets the value of the type property.voidunsetItem()voidunsetRange()voidunsetUri()FileTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)FileTypewithHash(String value)FileTypewithId(String value)FileTypewithItem(FileType.Item... values)FileTypewithItem(Collection<FileType.Item> values)FileTypewithMetadata(SimpleMetadataType value)FileTypewithPath(String value)FileTypewithRange(FileType.Range... values)FileTypewithRange(Collection<FileType.Range> values)FileTypewithRefreshFlag(Integer value)FileTypewithSequence(Boolean value)FileTypewithSize(Long value)FileTypewithState(String value)FileTypewithStorage(String value)FileTypewithStorageDefinition(StorageType value)FileTypewithTimestamp(XMLGregorianCalendar value)FileTypewithType(String value)FileTypewithUri(String... values)FileTypewithUri(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
setmethod 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
setmethod 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
setmethod 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:
copyToin 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:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein 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:
equalsin 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:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-