com.openindex.openestate.impl
Class EstateAttachmentImpl

java.lang.Object
  extended by com.openindex.openestate.impl.AbstractImplItem
      extended by com.openindex.openestate.impl.EstateAttachmentImpl
All Implemented Interfaces:
SerializableXmlType

public class EstateAttachmentImpl
extends AbstractImplItem
implements SerializableXmlType

Implementierung eines Immobilien-Anhanges.
$Id: EstateAttachmentImpl.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
static String MIME_BMP
          MIME-Types
static String MIME_GIF
           
static String MIME_JPG
           
static String MIME_PDF
           
static String MIME_PNG
           
static String TYPE_IMAGE
          Arten
static String TYPE_IMAGE_GROUNDPLAN
           
static String TYPE_IMAGE_INNER_VIEW
           
static String TYPE_IMAGE_MAP
           
static String TYPE_IMAGE_OUTER_VIEW
           
static String TYPE_IMAGE_PANORAMA
           
 
Constructor Summary
EstateAttachmentImpl()
           
 
Method Summary
 CustomValuesImpl getCustomValues()
           
 byte[] getFileAsBase64()
           
 String getFileAsName()
           
 URL getFileAsUrl()
           
 String getMimeType()
           
 String getTitle()
           
 String getTitle(Locale locale)
           
 String getTitle(String locale)
           
 Collection<String> getTitleLanguages()
           
 String getType()
           
static String[] getTypes()
           
 boolean isBase64()
           
 boolean isName()
           
 boolean isPublished()
           
 boolean isUrl()
           
 void readFromXml(org.dom4j.Element node)
           
 void serializeToXml(org.dom4j.Element node)
           
 void setFile(byte[] val)
           
 void setFile(String val)
           
 void setFile(URL 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(String val)
           
 
Methods inherited from class com.openindex.openestate.impl.AbstractImplItem
getValue, getValue, getValues, merge, putValue, selectAttribute, selectAttribute, selectAttributeAsBoolean, selectAttributeAsBoolean, selectAttributeAsCurrency, selectAttributeAsCurrency, selectAttributeAsDate, selectAttributeAsDate, selectAttributeAsDateTime, selectAttributeAsDateTime, selectAttributeAsDouble, selectAttributeAsDouble, selectAttributeAsFloat, selectAttributeAsFloat, selectAttributeAsURL, selectAttributeAsURL, selectChildElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_BMP

public static final String MIME_BMP
MIME-Types

See Also:
Constant Field Values

MIME_GIF

public static final String MIME_GIF
See Also:
Constant Field Values

MIME_JPG

public static final String MIME_JPG
See Also:
Constant Field Values

MIME_PDF

public static final String MIME_PDF
See Also:
Constant Field Values

MIME_PNG

public static final String MIME_PNG
See Also:
Constant Field Values

TYPE_IMAGE

public static final String TYPE_IMAGE
Arten

See Also:
Constant Field Values

TYPE_IMAGE_INNER_VIEW

public static final String TYPE_IMAGE_INNER_VIEW
See Also:
Constant Field Values

TYPE_IMAGE_OUTER_VIEW

public static final String TYPE_IMAGE_OUTER_VIEW
See Also:
Constant Field Values

TYPE_IMAGE_GROUNDPLAN

public static final String TYPE_IMAGE_GROUNDPLAN
See Also:
Constant Field Values

TYPE_IMAGE_MAP

public static final String TYPE_IMAGE_MAP
See Also:
Constant Field Values

TYPE_IMAGE_PANORAMA

public static final String TYPE_IMAGE_PANORAMA
See Also:
Constant Field Values
Constructor Detail

EstateAttachmentImpl

public EstateAttachmentImpl()
Method Detail

getCustomValues

public CustomValuesImpl getCustomValues()

getFileAsBase64

public byte[] getFileAsBase64()

getFileAsName

public String getFileAsName()

getFileAsUrl

public URL getFileAsUrl()

getMimeType

public String getMimeType()

getTitle

public String getTitle()

getTitle

public String getTitle(Locale locale)

getTitle

public String getTitle(String locale)

getTitleLanguages

public Collection<String> getTitleLanguages()

getType

public String getType()

getTypes

public static String[] getTypes()

isBase64

public boolean isBase64()

isName

public boolean isName()

isPublished

public boolean isPublished()

isUrl

public boolean isUrl()

readFromXml

public void readFromXml(org.dom4j.Element node)
                 throws org.dom4j.DocumentException
Specified by:
readFromXml in interface SerializableXmlType
Throws:
org.dom4j.DocumentException

serializeToXml

public void serializeToXml(org.dom4j.Element node)
                    throws org.dom4j.DocumentException
Specified by:
serializeToXml in interface SerializableXmlType
Throws:
org.dom4j.DocumentException

setFile

public void setFile(byte[] val)

setFile

public void setFile(String val)

setFile

public void setFile(URL val)

setMimeType

public void setMimeType(String val)

setPublished

public void setPublished(Boolean val)

setTitle

public void setTitle(String val)

setTitle

public void setTitle(String val,
                     Locale locale)

setTitle

public void setTitle(String val,
                     String locale)

setType

public void setType(String val)


Copyright © 2012 OpenEstate. All Rights Reserved.