Class TaskDefImpl
- java.lang.Object
-
- org.jbpm.services.task.impl.model.TaskDefImpl
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.internal.task.api.model.TaskDef
@Entity public class TaskDefImpl extends Object implements org.kie.internal.task.api.model.TaskDef
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskDefImpl()
TaskDefImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
String
getName()
int
getPriority()
void
readExternal(ObjectInput in)
void
setId(long id)
void
setName(String name)
void
setPriority(int priority)
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
TaskDefImpl
public TaskDefImpl()
-
TaskDefImpl
public TaskDefImpl(String name)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceorg.kie.internal.task.api.model.TaskDef
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceorg.kie.internal.task.api.model.TaskDef
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.kie.internal.task.api.model.TaskDef
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceorg.kie.internal.task.api.model.TaskDef
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceorg.kie.internal.task.api.model.TaskDef
-
setPriority
public void setPriority(int priority)
- Specified by:
setPriority
in interfaceorg.kie.internal.task.api.model.TaskDef
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-