@Entity public class FunctionBo extends Object implements MutableInactivatable, FunctionDefinitionContract, Versioned, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Long |
versionNumber |
| Constructor and Description |
|---|
FunctionBo() |
| Modifier and Type | Method and Description |
|---|---|
static FunctionBo |
from(FunctionDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
boolean |
getActive() |
List<CategoryBo> |
getCategories()
Returns an ordered list of the categories which this function
definition requires.
|
String |
getDescription()
Returns the description of this function definition.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
Returns the name of this function definition.
|
String |
getNamespace()
Returns the namespace code of this function definition.
|
List<FunctionParameterBo> |
getParameters()
Returns an ordered, immutable list of the parameters which this function
definition requires.
|
String |
getReturnType()
Returns the type of the return value of the function defined by this
function definition.
|
String |
getTypeId()
Returns the id of the
KrmsTypeDefinition which defines the
actual implementation of this function such that it can be loaded into
the engine and executed. |
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active)
Sets the record to active or inactive.
|
void |
setCategories(List<CategoryBo> categories) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setParameters(List<FunctionParameterBo> parameters) |
void |
setReturnType(String returnType) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
static FunctionDefinition |
to(FunctionBo bo)
Converts a mutable bo to it's immutable counterpart
|
protected Long versionNumber
public FunctionBo()
public static FunctionDefinition to(FunctionBo bo)
bo - the mutable business objectpublic static FunctionBo from(FunctionDefinition im)
im - immutable objectpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getNamespace()
FunctionDefinitionContractgetNamespace in interface FunctionDefinitionContractpublic void setNamespace(String namespace)
public String getName()
FunctionDefinitionContractgetName in interface FunctionDefinitionContractpublic String getDescription()
FunctionDefinitionContractgetDescription in interface FunctionDefinitionContractpublic void setDescription(String description)
public String getReturnType()
FunctionDefinitionContractgetReturnType in interface FunctionDefinitionContractpublic void setReturnType(String returnType)
public String getTypeId()
FunctionDefinitionContractKrmsTypeDefinition which defines the
actual implementation of this function such that it can be loaded into
the engine and executed.getTypeId in interface FunctionDefinitionContractpublic boolean getActive()
public boolean isActive()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
MutableInactivatablesetActive in interface MutableInactivatablepublic List<FunctionParameterBo> getParameters()
FunctionDefinitionContractgetParameters in interface FunctionDefinitionContractpublic void setParameters(List<FunctionParameterBo> parameters)
public List<CategoryBo> getCategories()
FunctionDefinitionContractgetCategories in interface FunctionDefinitionContractpublic void setCategories(List<CategoryBo> categories)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.