@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()
Identifiable
getId
in interface Identifiable
public String getNamespace()
FunctionDefinitionContract
getNamespace
in interface FunctionDefinitionContract
public void setNamespace(String namespace)
public String getName()
FunctionDefinitionContract
getName
in interface FunctionDefinitionContract
public String getDescription()
FunctionDefinitionContract
getDescription
in interface FunctionDefinitionContract
public void setDescription(String description)
public String getReturnType()
FunctionDefinitionContract
getReturnType
in interface FunctionDefinitionContract
public void setReturnType(String returnType)
public String getTypeId()
FunctionDefinitionContract
KrmsTypeDefinition
which defines the
actual implementation of this function such that it can be loaded into
the engine and executed.getTypeId
in interface FunctionDefinitionContract
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
MutableInactivatable
setActive
in interface MutableInactivatable
public List<FunctionParameterBo> getParameters()
FunctionDefinitionContract
getParameters
in interface FunctionDefinitionContract
public void setParameters(List<FunctionParameterBo> parameters)
public List<CategoryBo> getCategories()
FunctionDefinitionContract
getCategories
in interface FunctionDefinitionContract
public void setCategories(List<CategoryBo> categories)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.