public class NotificationMessageAttachmentType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for NotificationMessageAttachmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NotificationMessageAttachmentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string"/> <choice> <element name="content" type="{http://www.w3.org/2001/XMLSchema}anyType"/> <element name="contentFromFile" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="contentId" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected Object |
content |
protected String |
contentFromFile |
protected String |
contentId |
protected String |
contentType |
static ItemName |
F_CONTENT |
static ItemName |
F_CONTENT_FROM_FILE |
static ItemName |
F_CONTENT_ID |
static ItemName |
F_CONTENT_TYPE |
static ItemName |
F_FILE_NAME |
protected String |
fileName |
Constructor and Description |
---|
NotificationMessageAttachmentType()
Creates a new
NotificationMessageAttachmentType instance. |
NotificationMessageAttachmentType(NotificationMessageAttachmentType o)
Creates a new
NotificationMessageAttachmentType instance by deeply copying a given NotificationMessageAttachmentType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
NotificationMessageAttachmentType |
clone()
Creates and returns a deep copy of this object.
|
NotificationMessageAttachmentType |
content(Object value) |
NotificationMessageAttachmentType |
contentFromFile(String value) |
NotificationMessageAttachmentType |
contentId(String value) |
NotificationMessageAttachmentType |
contentType(String value) |
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) |
NotificationMessageAttachmentType |
fileName(String value) |
Object |
getContent()
Gets the value of the content property.
|
String |
getContentFromFile()
Gets the value of the contentFromFile property.
|
String |
getContentId()
Gets the value of the contentId property.
|
String |
getContentType()
Gets the value of the contentType property.
|
String |
getFileName()
Gets the value of the fileName property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContent(Object value)
Sets the value of the content property.
|
void |
setContentFromFile(String value)
Sets the value of the contentFromFile property.
|
void |
setContentId(String value)
Sets the value of the contentId property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setFileName(String value)
Sets the value of the fileName property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected String contentType
protected Object content
protected String contentFromFile
protected String fileName
protected String contentId
public static final QName COMPLEX_TYPE
public static final ItemName F_CONTENT_TYPE
public static final ItemName F_CONTENT
public static final ItemName F_CONTENT_FROM_FILE
public static final ItemName F_FILE_NAME
public static final ItemName F_CONTENT_ID
public NotificationMessageAttachmentType()
NotificationMessageAttachmentType
instance.public NotificationMessageAttachmentType(NotificationMessageAttachmentType o)
NotificationMessageAttachmentType
instance by deeply copying a given NotificationMessageAttachmentType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getContentType()
String
public void setContentType(String value)
value
- allowed object is
String
public Object getContent()
Object
public void setContent(Object value)
value
- allowed object is
Object
public String getContentFromFile()
String
public void setContentFromFile(String value)
value
- allowed object is
String
public String getFileName()
String
public void setFileName(String value)
value
- allowed object is
String
public String getContentId()
String
public void setContentId(String value)
value
- allowed object is
String
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public NotificationMessageAttachmentType contentType(String value)
public NotificationMessageAttachmentType content(Object value)
public NotificationMessageAttachmentType contentFromFile(String value)
public NotificationMessageAttachmentType fileName(String value)
public NotificationMessageAttachmentType contentId(String value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public NotificationMessageAttachmentType clone()
Copyright © 2021 Evolveum. All rights reserved.