net.opengis.ols.v_1_2
Class ContentType

java.lang.Object
  extended by net.opengis.ols.v_1_2.ContentType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class ContentType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

Java class for ContentType complex type.

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

 <complexType name="ContentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="Data" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </choice>
       <attribute name="format" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="width" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="height" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String data
           
protected  String format
           
protected  BigInteger height
           
protected  String url
           
protected  BigInteger width
           
 
Constructor Summary
ContentType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 String getData()
          Gets the value of the data property.
 String getFormat()
          Gets the value of the format property.
 BigInteger getHeight()
          Gets the value of the height property.
 String getURL()
          Gets the value of the url property.
 BigInteger getWidth()
          Gets the value of the width property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetData()
           
 boolean isSetFormat()
           
 boolean isSetHeight()
           
 boolean isSetURL()
           
 boolean isSetWidth()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setData(String value)
          Sets the value of the data property.
 void setFormat(String value)
          Sets the value of the format property.
 void setHeight(BigInteger value)
          Sets the value of the height property.
 void setURL(String value)
          Sets the value of the url property.
 void setWidth(BigInteger value)
          Sets the value of the width property.
 String toString()
           
 ContentType withData(String value)
           
 ContentType withFormat(String value)
           
 ContentType withHeight(BigInteger value)
           
 ContentType withURL(String value)
           
 ContentType withWidth(BigInteger value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

data

protected String data

url

protected String url

format

protected String format

width

protected BigInteger width

height

protected BigInteger height
Constructor Detail

ContentType

public ContentType()
Method Detail

getData

public String getData()
Gets the value of the data property.

Returns:
possible object is String

setData

public void setData(String value)
Sets the value of the data property.

Parameters:
value - allowed object is String

isSetData

public boolean isSetData()

getURL

public String getURL()
Gets the value of the url property.

Returns:
possible object is String

setURL

public void setURL(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

isSetURL

public boolean isSetURL()

getFormat

public String getFormat()
Gets the value of the format property.

Returns:
possible object is String

setFormat

public void setFormat(String value)
Sets the value of the format property.

Parameters:
value - allowed object is String

isSetFormat

public boolean isSetFormat()

getWidth

public BigInteger getWidth()
Gets the value of the width property.

Returns:
possible object is BigInteger

setWidth

public void setWidth(BigInteger value)
Sets the value of the width property.

Parameters:
value - allowed object is BigInteger

isSetWidth

public boolean isSetWidth()

getHeight

public BigInteger getHeight()
Gets the value of the height property.

Returns:
possible object is BigInteger

setHeight

public void setHeight(BigInteger value)
Sets the value of the height property.

Parameters:
value - allowed object is BigInteger

isSetHeight

public boolean isSetHeight()

toString

public String toString()
Overrides:
toString in class Object

append

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

appendFields

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

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.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

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

hashCode

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

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

copyTo

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

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom

withData

public ContentType withData(String value)

withURL

public ContentType withURL(String value)

withFormat

public ContentType withFormat(String value)

withWidth

public ContentType withWidth(BigInteger value)

withHeight

public ContentType withHeight(BigInteger value)


Copyright © 2008-2015. All Rights Reserved.