public class ProcessObjectPrototype
extends org.clawiz.core.common.system.object.AbstractObject
| Modifier and Type | Field and Description |
|---|---|
ProcessService |
service |
| Constructor and Description |
|---|
ProcessObjectPrototype() |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
Check object data consistency
|
void |
copy(ProcessObjectPrototype target)
Copy values of all fields to 'target'
|
boolean |
equals(ProcessObjectPrototype object)
Return true if all field values equals to 'object' field values or both value of field is null
|
void |
fillDefaults()
Fill object field default values
|
String |
getName() |
String |
getPackageName() |
BigDecimal |
getRootTypeId() |
ProcessService |
getService() |
int |
hashCode()
Calculate hash value of object data
|
void |
save()
Save object to database
|
void |
setName(String name)
Set 'Name' value
|
void |
setPackageName(String packageName)
Set 'PackageName' value
|
void |
setRootTypeId(BigDecimal rootTypeId)
Set 'rootType' value
|
void |
setService(ProcessService service) |
String |
toPackageName()
Prepare concatenated string values of key 'PackageName' fields
|
String |
toRootType()
Prepare concatenated string values of key 'RootType' fields
|
ProcessObjectPrototype |
withName(String name)
Set 'Name' value and return this object
|
ProcessObjectPrototype |
withPackageName(String packageName)
Set 'PackageName' value and return this object
|
ProcessObjectPrototype |
withRootTypeId(BigDecimal rootTypeId)
Set 'rootType' value and return this object
|
public ProcessService service
public String getPackageName()
public void setPackageName(String packageName)
packageName - PackageNamepublic ProcessObjectPrototype withPackageName(String packageName)
packageName - PackageNamepublic String getName()
public void setName(String name)
name - Namepublic ProcessObjectPrototype withName(String name)
name - Namepublic BigDecimal getRootTypeId()
public void setRootTypeId(BigDecimal rootTypeId)
rootTypeId - rootTypepublic ProcessObjectPrototype withRootTypeId(BigDecimal rootTypeId)
rootTypeId - rootTypepublic ProcessService getService()
getService in class org.clawiz.core.common.system.object.AbstractObjectpublic void setService(ProcessService service)
public void copy(ProcessObjectPrototype target)
target - Target object to copy datapublic void fillDefaults()
fillDefaults in class org.clawiz.core.common.system.object.AbstractObjectpublic void check()
check in class org.clawiz.core.common.system.object.AbstractObjectpublic void save()
save in class org.clawiz.core.common.system.object.AbstractObjectpublic boolean equals(ProcessObjectPrototype object)
object - Equal check objectpublic int hashCode()
public String toPackageName()
public String toRootType()
Copyright © 2018. All rights reserved.