Class ExportFormatDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.system.exportformats.ExportFormatDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class ExportFormatDTO extends ConfigurationEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,ExportFormatDTO>BINARYstatic StringCLASS_NAMEstatic BasicProperty<String,ExportFormatDTO>CONTENT_TYPEstatic SetProperty<ExportFormatContext,ExportFormatDTO>CONTEXTSstatic BasicProperty<Boolean,ExportFormatDTO>ENABLEDstatic BasicProperty<String,ExportFormatDTO>ENCODINGstatic BasicProperty<String,ExportFormatDTO>FILE_EXTENSIONstatic BasicProperty<CustomScriptVO,ExportFormatDTO>SCRIPTstatic BasicProperty<String,ExportFormatDTO>SCRIPT_PARAMETERS-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ExportFormatDTO()ExportFormatDTO(Long id)ExportFormatDTO(Property<T,? super ExportFormatDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetContentType()Set<ExportFormatContext>getContexts()StringgetEncoding()StringgetFileExtension()CustomScriptVOgetScript()StringgetScriptParameters()booleanisBinary()booleanisEnabled()voidsetBinary(boolean binary)voidsetContentType(String contentType)voidsetContexts(Set<ExportFormatContext> contexts)voidsetEnabled(boolean enabled)voidsetEncoding(String encoding)voidsetFileExtension(String fileExtension)voidsetScript(CustomScriptVO script)voidsetScriptParameters(String scriptParameters)-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BINARY
public static final BasicProperty<Boolean,ExportFormatDTO> BINARY
-
CONTENT_TYPE
public static final BasicProperty<String,ExportFormatDTO> CONTENT_TYPE
-
CONTEXTS
public static final SetProperty<ExportFormatContext,ExportFormatDTO> CONTEXTS
-
ENABLED
public static final BasicProperty<Boolean,ExportFormatDTO> ENABLED
-
ENCODING
public static final BasicProperty<String,ExportFormatDTO> ENCODING
-
FILE_EXTENSION
public static final BasicProperty<String,ExportFormatDTO> FILE_EXTENSION
-
SCRIPT
public static final BasicProperty<CustomScriptVO,ExportFormatDTO> SCRIPT
-
SCRIPT_PARAMETERS
public static final BasicProperty<String,ExportFormatDTO> SCRIPT_PARAMETERS
-
-
Constructor Detail
-
ExportFormatDTO
public ExportFormatDTO()
-
ExportFormatDTO
public ExportFormatDTO(Long id)
-
ExportFormatDTO
public ExportFormatDTO(Property<T,? super ExportFormatDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
isBinary
public boolean isBinary()
-
setBinary
public void setBinary(boolean binary)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getContexts
public Set<ExportFormatContext> getContexts()
-
setContexts
public void setContexts(Set<ExportFormatContext> contexts)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getEncoding
public String getEncoding()
-
setEncoding
public void setEncoding(String encoding)
-
getFileExtension
public String getFileExtension()
-
setFileExtension
public void setFileExtension(String fileExtension)
-
getScript
public CustomScriptVO getScript()
-
setScript
public void setScript(CustomScriptVO script)
-
getScriptParameters
public String getScriptParameters()
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
-