Class 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
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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integer
protected String
protected List<KeyValuePairType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()
copyTo
(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) Gets the value of the allowHeaders property.Gets the value of the allowMaxAge property.Gets the value of the allowMethods property.Gets the value of the allowOrigin property.Gets the value of the allowOtherHeader property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
boolean
boolean
boolean
void
setAllowMaxAge
(Integer value) Sets the value of the allowMaxAge property.void
setAllowOrigin
(String value) Sets the value of the allowOrigin property.toString()
void
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) withAllowHeaders
(String... values) Adds objects to the list of AllowHeaders using add methodwithAllowHeaders
(Collection<String> values) Adds objects to the list of AllowHeaders using addAll methodwithAllowMaxAge
(Integer value) Sets the value of the allowMaxAge property.withAllowMethods
(String... values) Adds objects to the list of AllowMethods using add methodwithAllowMethods
(Collection<String> values) Adds objects to the list of AllowMethods using addAll methodwithAllowOrigin
(String value) Sets the value of the allowOrigin property.withAllowOtherHeader
(KeyValuePairType... values) Adds objects to the list of AllowOtherHeader using add methodAdds objects to the list of AllowOtherHeader using addAll method
-
Field Details
-
allowOrigin
-
allowMethods
-
allowHeaders
-
allowMaxAge
-
allowOtherHeader
-
-
Constructor Details
-
CORSConfigurationEntryResponse
public CORSConfigurationEntryResponse()
-
-
Method Details
-
getAllowOrigin
Gets the value of the allowOrigin property.- Returns:
- possible object is
String
-
setAllowOrigin
Sets the value of the allowOrigin property.- Parameters:
value
- allowed object isString
-
isSetAllowOrigin
public boolean isSetAllowOrigin() -
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
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
Gets the value of the allowMaxAge property.- Returns:
- possible object is
Integer
-
setAllowMaxAge
Sets the value of the allowMaxAge property.- Parameters:
value
- allowed object isInteger
-
isSetAllowMaxAge
public boolean isSetAllowMaxAge() -
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
-
copyTo
- Specified by:
copyTo
in interfaceorg.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 interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withAllowOrigin
Sets the value of the allowOrigin property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withAllowMethods
Adds objects to the list of AllowMethods using add method- Parameters:
values
- objects to add to the list AllowMethods- Returns:
- The class instance
-
withAllowMethods
Adds objects to the list of AllowMethods using addAll method- Parameters:
values
- objects to add to the list AllowMethods- Returns:
- The class instance
-
withAllowHeaders
Adds objects to the list of AllowHeaders using add method- Parameters:
values
- objects to add to the list AllowHeaders- Returns:
- The class instance
-
withAllowHeaders
Adds objects to the list of AllowHeaders using addAll method- Parameters:
values
- objects to add to the list AllowHeaders- Returns:
- The class instance
-
withAllowMaxAge
Sets the value of the allowMaxAge property.- Parameters:
value
- allowed object isInteger
- Returns:
- The class instance
-
withAllowOtherHeader
Adds objects to the list of AllowOtherHeader using add method- Parameters:
values
- objects to add to the list AllowOtherHeader- Returns:
- The class instance
-
withAllowOtherHeader
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 interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
append
in interfaceorg.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 interfaceorg.jvnet.jaxb.lang.ToString
-