Class CORSConfigurationEntryResponse
- java.lang.Object
-
- com.vidispine.generated.CORSConfigurationEntryResponse
-
- 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 CORSConfigurationEntryResponse 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 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCORSConfigurationEntryResponse.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<String>allowHeadersprotected IntegerallowMaxAgeprotected List<String>allowMethodsprotected StringallowOriginprotected List<KeyValuePairType>allowOtherHeader
-
Constructor Summary
Constructors Constructor Description CORSConfigurationEntryResponse()
-
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)List<String>getAllowHeaders()Gets the value of the allowHeaders property.IntegergetAllowMaxAge()Gets the value of the allowMaxAge property.List<String>getAllowMethods()Gets the value of the allowMethods property.StringgetAllowOrigin()Gets the value of the allowOrigin property.List<KeyValuePairType>getAllowOtherHeader()Gets the value of the allowOtherHeader property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetAllowHeaders()booleanisSetAllowMaxAge()booleanisSetAllowMethods()booleanisSetAllowOrigin()booleanisSetAllowOtherHeader()voidsetAllowMaxAge(Integer value)Sets the value of the allowMaxAge property.voidsetAllowOrigin(String value)Sets the value of the allowOrigin property.voidunsetAllowHeaders()voidunsetAllowMethods()voidunsetAllowOtherHeader()CORSConfigurationEntryResponsevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)CORSConfigurationEntryResponsewithAllowHeaders(String... values)CORSConfigurationEntryResponsewithAllowHeaders(Collection<String> values)CORSConfigurationEntryResponsewithAllowMaxAge(Integer value)CORSConfigurationEntryResponsewithAllowMethods(String... values)CORSConfigurationEntryResponsewithAllowMethods(Collection<String> values)CORSConfigurationEntryResponsewithAllowOrigin(String value)CORSConfigurationEntryResponsewithAllowOtherHeader(KeyValuePairType... values)CORSConfigurationEntryResponsewithAllowOtherHeader(Collection<KeyValuePairType> values)
-
-
-
Method Detail
-
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 isString
-
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
setmethod 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
-
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
setmethod 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
-
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 isInteger
-
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
setmethod 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
-
isSetAllowOtherHeader
public boolean isSetAllowOtherHeader()
-
unsetAllowOtherHeader
public void unsetAllowOtherHeader()
-
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
-
withAllowOrigin
public CORSConfigurationEntryResponse withAllowOrigin(String value)
-
withAllowMethods
public CORSConfigurationEntryResponse withAllowMethods(String... values)
-
withAllowMethods
public CORSConfigurationEntryResponse withAllowMethods(Collection<String> values)
-
withAllowHeaders
public CORSConfigurationEntryResponse withAllowHeaders(String... values)
-
withAllowHeaders
public CORSConfigurationEntryResponse withAllowHeaders(Collection<String> values)
-
withAllowMaxAge
public CORSConfigurationEntryResponse withAllowMaxAge(Integer value)
-
withAllowOtherHeader
public CORSConfigurationEntryResponse withAllowOtherHeader(KeyValuePairType... values)
-
withAllowOtherHeader
public CORSConfigurationEntryResponse withAllowOtherHeader(Collection<KeyValuePairType> 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 CORSConfigurationEntryResponse 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
-
-