public class Attachment extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for attachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attachment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="size" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
size |
protected String |
source |
protected String |
title |
protected String |
type |
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
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) |
Integer |
getSize()
Gets the value of the size property.
|
String |
getSource()
Gets the value of the source property.
|
String |
getTitle()
Gets the value of the title property.
|
String |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setSize(Integer value)
Sets the value of the size property.
|
void |
setSource(String value)
Sets the value of the source property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setType(String value)
Sets the value of the type property.
|
Attachment |
withSize(Integer value) |
Attachment |
withSource(String value) |
Attachment |
withTitle(String value) |
Attachment |
withType(String value) |
protected String title
protected String source
protected String type
protected Integer size
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getSource()
Stringpublic void setSource(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic Integer getSize()
Integerpublic void setSize(Integer value)
value - allowed object is
Integerpublic 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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Attachment withTitle(String value)
public Attachment withSource(String value)
public Attachment withType(String value)
public Attachment withSize(Integer value)
Copyright © 2017 Yandex. All rights reserved.