Class CORSConfigurationEntryResponse

java.lang.Object
com.vidispine.generated.CORSConfigurationEntryResponse
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 CORSConfigurationEntryResponse 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 CORSConfigurationEntryResponse complex type

.

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


 <complexType name="CORSConfigurationEntryResponse">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="allowOrigin" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="allowMethods" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="allowHeaders" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="allowMaxAge" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="allowOtherHeader" type="{http://xml.vidispine.com/schema/vidispine}KeyValuePairType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • CORSConfigurationEntryResponse

      public CORSConfigurationEntryResponse()
  • Method Details

    • getAllowOrigin

      public String getAllowOrigin()
      Gets the value of the allowOrigin property.
      Returns:
      possible object is String
    • setAllowOrigin

      public void setAllowOrigin(String value)
      Sets the value of the allowOrigin property.
      Parameters:
      value - allowed object is String
    • isSetAllowOrigin

      public boolean isSetAllowOrigin()
    • getAllowMethods

      public List<String> getAllowMethods()
      Gets the value of the allowMethods 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 allowMethods property.

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

       getAllowMethods().add(newItem);
       

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

      Returns:
      The value of the allowMethods property.
    • isSetAllowMethods

      public boolean isSetAllowMethods()
    • unsetAllowMethods

      public void unsetAllowMethods()
    • getAllowHeaders

      public List<String> getAllowHeaders()
      Gets the value of the allowHeaders 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 allowHeaders property.

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

       getAllowHeaders().add(newItem);
       

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

      Returns:
      The value of the allowHeaders property.
    • isSetAllowHeaders

      public boolean isSetAllowHeaders()
    • unsetAllowHeaders

      public void unsetAllowHeaders()
    • getAllowMaxAge

      public Integer getAllowMaxAge()
      Gets the value of the allowMaxAge property.
      Returns:
      possible object is Integer
    • setAllowMaxAge

      public void setAllowMaxAge(Integer value)
      Sets the value of the allowMaxAge property.
      Parameters:
      value - allowed object is Integer
    • isSetAllowMaxAge

      public boolean isSetAllowMaxAge()
    • getAllowOtherHeader

      public List<KeyValuePairType> getAllowOtherHeader()
      Gets the value of the allowOtherHeader 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 allowOtherHeader property.

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

       getAllowOtherHeader().add(newItem);
       

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

      Returns:
      The value of the allowOtherHeader property.
    • isSetAllowOtherHeader

      public boolean isSetAllowOtherHeader()
    • unsetAllowOtherHeader

      public void unsetAllowOtherHeader()
    • 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
    • withAllowOrigin

      public CORSConfigurationEntryResponse withAllowOrigin(String value)
      Sets the value of the allowOrigin property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withAllowMethods

      public CORSConfigurationEntryResponse withAllowMethods(String... values)
      Adds objects to the list of AllowMethods using add method
      Parameters:
      values - objects to add to the list AllowMethods
      Returns:
      The class instance
    • withAllowMethods

      public CORSConfigurationEntryResponse withAllowMethods(Collection<String> values)
      Adds objects to the list of AllowMethods using addAll method
      Parameters:
      values - objects to add to the list AllowMethods
      Returns:
      The class instance
    • withAllowHeaders

      public CORSConfigurationEntryResponse withAllowHeaders(String... values)
      Adds objects to the list of AllowHeaders using add method
      Parameters:
      values - objects to add to the list AllowHeaders
      Returns:
      The class instance
    • withAllowHeaders

      public CORSConfigurationEntryResponse withAllowHeaders(Collection<String> values)
      Adds objects to the list of AllowHeaders using addAll method
      Parameters:
      values - objects to add to the list AllowHeaders
      Returns:
      The class instance
    • withAllowMaxAge

      public CORSConfigurationEntryResponse withAllowMaxAge(Integer value)
      Sets the value of the allowMaxAge property.
      Parameters:
      value - allowed object is Integer
      Returns:
      The class instance
    • withAllowOtherHeader

      public CORSConfigurationEntryResponse withAllowOtherHeader(KeyValuePairType... values)
      Adds objects to the list of AllowOtherHeader using add method
      Parameters:
      values - objects to add to the list AllowOtherHeader
      Returns:
      The class instance
    • withAllowOtherHeader

      public CORSConfigurationEntryResponse withAllowOtherHeader(Collection<KeyValuePairType> values)
      Adds objects to the list of AllowOtherHeader using addAll method
      Parameters:
      values - objects to add to the list AllowOtherHeader
      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 CORSConfigurationEntryResponse 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