public class EstateAttachmentImpl extends AbstractImplItem implements SerializableXmlType
Modifier and Type | Field and Description |
---|---|
static String |
MIME_BMP |
static String |
MIME_GIF |
static String |
MIME_JPG |
static String |
MIME_PDF |
static String |
MIME_PNG |
Constructor and Description |
---|
EstateAttachmentImpl() |
Modifier and Type | Method and Description |
---|---|
URI |
getAbsoluteUrl(String baseUrl) |
byte[] |
getFileAsBase64() |
String |
getFileAsName() |
URI |
getFileAsUrl() |
String |
getHash() |
String |
getMimeType() |
String |
getTitle() |
String |
getTitle(Locale locale) |
String |
getTitle(String locale) |
String[] |
getTitleLanguages() |
EstateAttachmentType |
getType() |
boolean |
isAudioType() |
boolean |
isBase64() |
boolean |
isImageType() |
boolean |
isMimeType(String type) |
boolean |
isName() |
boolean |
isPublished() |
boolean |
isTextType() |
boolean |
isUrl() |
boolean |
isVideoType() |
void |
readFromXml(org.dom4j.Element node) |
void |
serializeToXml(org.dom4j.Element node) |
void |
setFile(byte[] val) |
void |
setFile(String val) |
void |
setFile(URI val) |
void |
setHash(String val) |
void |
setMimeType(String val) |
void |
setPublished(Boolean val) |
void |
setTitle(String val) |
void |
setTitle(String val,
Locale locale) |
void |
setTitle(String val,
String locale) |
void |
setType(EstateAttachmentType val) |
getValue, getValue, getValues, merge, putValue, selectAttribute, selectAttribute, selectAttributeAsBigDecimal, selectAttributeAsBigDecimal, selectAttributeAsBigInteger, selectAttributeAsBigInteger, selectAttributeAsBoolean, selectAttributeAsBoolean, selectAttributeAsCurrency, selectAttributeAsCurrency, selectAttributeAsDate, selectAttributeAsDate, selectAttributeAsDateTime, selectAttributeAsDateTime, selectAttributeAsDouble, selectAttributeAsDouble, selectAttributeAsFloat, selectAttributeAsFloat, selectAttributeAsURI, selectAttributeAsURI, selectChildElements
public static final String MIME_BMP
public static final String MIME_GIF
public static final String MIME_JPG
public static final String MIME_PDF
public static final String MIME_PNG
public byte[] getFileAsBase64()
public String getFileAsName()
public URI getFileAsUrl()
public String getHash()
public String getMimeType()
public String getTitle()
public String[] getTitleLanguages()
public EstateAttachmentType getType()
public boolean isAudioType()
public boolean isBase64()
public boolean isImageType()
public boolean isMimeType(String type)
public boolean isName()
public boolean isPublished()
public boolean isTextType()
public boolean isUrl()
public boolean isVideoType()
public void readFromXml(org.dom4j.Element node) throws org.dom4j.DocumentException
readFromXml
in interface SerializableXmlType
org.dom4j.DocumentException
public void serializeToXml(org.dom4j.Element node) throws org.dom4j.DocumentException
serializeToXml
in interface SerializableXmlType
org.dom4j.DocumentException
public void setFile(byte[] val)
public void setFile(String val)
public void setFile(URI val)
public void setHash(String val)
public void setMimeType(String val)
public void setPublished(Boolean val)
public void setTitle(String val)
public void setType(EstateAttachmentType val)
Copyright © 2019 OpenEstate. All rights reserved.