Class ArtifactDefinition
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.persistence.application.processman.ArtifactDefinition
-
public class ArtifactDefinition extends Object
Represents an artifact associated to an activity. An artifact is the product of the execution of an activity. Most of the times, it will be a form filled in by the user.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_ATTACHMENT
The activity only requires the user to submits a filestatic int
TYPE_CONDITIONAL
The type used for the TYPE_CONTIDIONAL activities, and simply asks a question expecting a yes/no answerstatic int
TYPE_FORM
The artifact is a form that should be filled in and submitted by the user
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
byte[]
getDefinition()
String
getDescription()
String
getExternalScripts()
long
getId()
String
getName()
byte[]
getPostconditionsScript()
byte[]
getPreconditionsScript()
String
getPrintableTemplate()
List<String>
getSharedInformation()
int
getType()
String
getVersion()
int
hashCode()
Boolean
isPrintable()
void
setDefinition(byte[] definition)
void
setDescription(String description)
void
setExternalScripts(String externalScripts)
void
setId(long id)
void
setName(String name)
void
setPostconditionsScript(byte[] postconditionsScript)
void
setPreconditionsScript(byte[] preconditionsScript)
void
setPrintable(boolean printable)
void
setPrintableTemplate(String printableTemplate)
void
setSharedInformation(List<String> sharedInformation)
void
setType(int type)
void
setVersion(String version)
-
-
-
Field Detail
-
TYPE_FORM
public static final int TYPE_FORM
The artifact is a form that should be filled in and submitted by the user- See Also:
- Constant Field Values
-
TYPE_CONDITIONAL
public static final int TYPE_CONDITIONAL
The type used for the TYPE_CONTIDIONAL activities, and simply asks a question expecting a yes/no answer- See Also:
- Constant Field Values
-
TYPE_ATTACHMENT
public static final int TYPE_ATTACHMENT
The activity only requires the user to submits a file- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getDefinition
public byte[] getDefinition()
-
setDefinition
public void setDefinition(byte[] definition)
-
setPreconditionsScript
public void setPreconditionsScript(byte[] preconditionsScript)
-
getPreconditionsScript
public byte[] getPreconditionsScript()
-
setPostconditionsScript
public void setPostconditionsScript(byte[] postconditionsScript)
-
getPostconditionsScript
public byte[] getPostconditionsScript()
-
isPrintable
public Boolean isPrintable()
-
setPrintable
public void setPrintable(boolean printable)
-
getPrintableTemplate
public String getPrintableTemplate()
-
setPrintableTemplate
public void setPrintableTemplate(String printableTemplate)
-
getExternalScripts
public String getExternalScripts()
-
setExternalScripts
public void setExternalScripts(String externalScripts)
-
-