Class StorageMethodType

java.lang.Object
com.vidispine.generated.StorageMethodType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class StorageMethodType extends Object implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

Java class for StorageMethodType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="StorageMethodType">
   <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" minOccurs="0"/>
         <element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="bandwidth" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="read" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="write" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="browse" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="lastSuccess" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="lastFailure" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="failureMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}SimpleMetadataType" minOccurs="0"/>
         <element name="resourceTag" type="{http://xml.vidispine.com/schema/vidispine}ResourceTagType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • StorageMethodType

      public StorageMethodType()
  • Method Details

    • getLoc

      public String getLoc()
      Gets the value of the loc property.
      Returns:
      possible object is String
    • setLoc

      public void setLoc(String value)
      Sets the value of the loc property.
      Parameters:
      value - allowed object is String
    • isSetLoc

      public boolean isSetLoc()
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • isSetId

      public boolean isSetId()
    • getUri

      public String getUri()
      Gets the value of the uri property.
      Returns:
      possible object is String
    • setUri

      public void setUri(String value)
      Sets the value of the uri property.
      Parameters:
      value - allowed object is String
    • isSetUri

      public boolean isSetUri()
    • getBandwidth

      public Long getBandwidth()
      Gets the value of the bandwidth property.
      Returns:
      possible object is Long
    • setBandwidth

      public void setBandwidth(Long value)
      Sets the value of the bandwidth property.
      Parameters:
      value - allowed object is Long
    • isSetBandwidth

      public boolean isSetBandwidth()
    • isRead

      public boolean isRead()
      Gets the value of the read property.
    • setRead

      public void setRead(boolean value)
      Sets the value of the read property.
    • isSetRead

      public boolean isSetRead()
    • isWrite

      public boolean isWrite()
      Gets the value of the write property.
    • setWrite

      public void setWrite(boolean value)
      Sets the value of the write property.
    • isSetWrite

      public boolean isSetWrite()
    • isBrowse

      public boolean isBrowse()
      Gets the value of the browse property.
    • setBrowse

      public void setBrowse(boolean value)
      Sets the value of the browse property.
    • isSetBrowse

      public boolean isSetBrowse()
    • getLastSuccess

      public XMLGregorianCalendar getLastSuccess()
      Gets the value of the lastSuccess property.
      Returns:
      possible object is XMLGregorianCalendar
    • setLastSuccess

      public void setLastSuccess(XMLGregorianCalendar value)
      Sets the value of the lastSuccess property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetLastSuccess

      public boolean isSetLastSuccess()
    • getLastFailure

      public XMLGregorianCalendar getLastFailure()
      Gets the value of the lastFailure property.
      Returns:
      possible object is XMLGregorianCalendar
    • setLastFailure

      public void setLastFailure(XMLGregorianCalendar value)
      Sets the value of the lastFailure property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetLastFailure

      public boolean isSetLastFailure()
    • getFailureMessage

      public String getFailureMessage()
      Gets the value of the failureMessage property.
      Returns:
      possible object is String
    • setFailureMessage

      public void setFailureMessage(String value)
      Sets the value of the failureMessage property.
      Parameters:
      value - allowed object is String
    • isSetFailureMessage

      public boolean isSetFailureMessage()
    • 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 is String
    • isSetType

      public boolean isSetType()
    • 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 is SimpleMetadataType
    • isSetMetadata

      public boolean isSetMetadata()
    • getResourceTag

      public List<ResourceTagType> getResourceTag()
      Gets the value of the resourceTag 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 resourceTag property.

      For example, to add a new item, do as follows:

       getResourceTag().add(newItem);
       

      Objects of the following type(s) are allowed in the list ResourceTagType

      Returns:
      The value of the resourceTag property.
    • isSetResourceTag

      public boolean isSetResourceTag()
    • unsetResourceTag

      public void unsetResourceTag()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withLoc

      public StorageMethodType withLoc(String value)
      Sets the value of the loc property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withId

      public StorageMethodType withId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withUri

      public StorageMethodType withUri(String value)
      Sets the value of the uri property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withBandwidth

      public StorageMethodType withBandwidth(Long value)
      Sets the value of the bandwidth property.
      Parameters:
      value - allowed object is Long
      Returns:
      The class instance
    • withRead

      public StorageMethodType withRead(boolean value)
      Sets the value of the read property.
      Parameters:
      value - allowed object is boolean
      Returns:
      The class instance
    • withWrite

      public StorageMethodType withWrite(boolean value)
      Sets the value of the write property.
      Parameters:
      value - allowed object is boolean
      Returns:
      The class instance
    • withBrowse

      public StorageMethodType withBrowse(boolean value)
      Sets the value of the browse property.
      Parameters:
      value - allowed object is boolean
      Returns:
      The class instance
    • withLastSuccess

      public StorageMethodType withLastSuccess(XMLGregorianCalendar value)
      Sets the value of the lastSuccess property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withLastFailure

      public StorageMethodType withLastFailure(XMLGregorianCalendar value)
      Sets the value of the lastFailure property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withFailureMessage

      public StorageMethodType withFailureMessage(String value)
      Sets the value of the failureMessage property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withType

      public StorageMethodType withType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withMetadata

      public StorageMethodType withMetadata(SimpleMetadataType value)
      Sets the value of the metadata property.
      Parameters:
      value - allowed object is SimpleMetadataType
      Returns:
      The class instance
    • withResourceTag

      public StorageMethodType withResourceTag(ResourceTagType... values)
      Adds objects to the list of ResourceTag using add method
      Parameters:
      values - objects to add to the list ResourceTag
      Returns:
      The class instance
    • withResourceTag

      public StorageMethodType withResourceTag(Collection<ResourceTagType> values)
      Adds objects to the list of ResourceTag using addAll method
      Parameters:
      values - objects to add to the list ResourceTag
      Returns:
      The class instance
    • equals

      public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)
      Specified by:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public StorageMethodType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString