Class SDocumentDefinitionImpl
- java.lang.Object
-
- org.bonitasoft.engine.core.process.definition.model.impl.SBaseElementImpl
-
- org.bonitasoft.engine.core.process.definition.model.impl.SNamedElementImpl
-
- org.bonitasoft.engine.core.process.definition.model.impl.SDocumentDefinitionImpl
-
- All Implemented Interfaces:
java.io.Serializable,SBaseElement,SDocumentDefinition,SNamedElement
public class SDocumentDefinitionImpl extends SNamedElementImpl implements SDocumentDefinition
- Author:
- Baptiste Mesta
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bonitasoft.engine.core.process.definition.model.impl.SBaseElementImpl
SBaseElementImpl.EQUALS_STATE
-
-
Constructor Summary
Constructors Constructor Description SDocumentDefinitionImpl(java.lang.String name)SDocumentDefinitionImpl(org.bonitasoft.engine.bpm.document.DocumentDefinition documentDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.lang.StringgetFile()File reference in the process resourcesjava.lang.StringgetFileName()SExpressiongetInitialValue()java.lang.StringgetMimeType()mime type of the document's content.java.lang.StringgetUrl()URL for an external documentinthashCode()voidsetDescription(java.lang.String description)voidsetFile(java.lang.String file)voidsetFileName(java.lang.String fileName)voidsetInitialValue(SExpression initialValue)voidsetMimeType(java.lang.String mimeType)voidsetUrl(java.lang.String url)java.lang.StringtoString()-
Methods inherited from class org.bonitasoft.engine.core.process.definition.model.impl.SNamedElementImpl
checkFurtherNaiveEquality, getName
-
Methods inherited from class org.bonitasoft.engine.core.process.definition.model.impl.SBaseElementImpl
checkNaiveEquality, getId, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.bonitasoft.engine.core.process.definition.model.SBaseElement
getId
-
Methods inherited from interface org.bonitasoft.engine.core.process.definition.model.SNamedElement
getName
-
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Description copied from interface:SDocumentDefinitionURL for an external document- Specified by:
getUrlin interfaceSDocumentDefinition- Returns:
-
getFile
public java.lang.String getFile()
Description copied from interface:SDocumentDefinitionFile reference in the process resources- Specified by:
getFilein interfaceSDocumentDefinition- Returns:
-
getMimeType
public java.lang.String getMimeType()
Description copied from interface:SDocumentDefinitionmime type of the document's content.- Specified by:
getMimeTypein interfaceSDocumentDefinition
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceSDocumentDefinition- Returns:
-
setMimeType
public void setMimeType(java.lang.String mimeType)
-
setUrl
public void setUrl(java.lang.String url)
-
setFile
public void setFile(java.lang.String file)
-
setDescription
public void setDescription(java.lang.String description)
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileNamein interfaceSDocumentDefinition- Returns:
-
setFileName
public void setFileName(java.lang.String fileName)
-
getInitialValue
public SExpression getInitialValue()
- Specified by:
getInitialValuein interfaceSDocumentDefinition
-
setInitialValue
public void setInitialValue(SExpression initialValue)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classSNamedElementImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSNamedElementImpl
-
-