|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.krms.api.repository.function.FunctionDefinition
public class FunctionDefinition
An immutable representation of a function definition.
FunctionDefinitionContract
,
Serialized FormNested Class Summary | |
---|---|
static class |
FunctionDefinition.Builder
A builder which can be used to construct FunctionDefinition
instances. |
(package private) static class |
FunctionDefinition.Constants
Defines some internal constants used on this class. |
(package private) static class |
FunctionDefinition.Elements
A private class which exposes constants which define the XML element names to use when this object is marshalled to XML. |
Field Summary | |
---|---|
private Collection<Element> |
_futureElements
|
private boolean |
active
|
private List<CategoryDefinition> |
categories
|
private String |
description
|
private String |
id
|
private String |
name
|
private String |
namespace
|
private List<FunctionParameterDefinition> |
parameters
|
private String |
returnType
|
private static long |
serialVersionUID
|
private String |
typeId
|
private Long |
versionNumber
|
Constructor Summary | |
---|---|
private |
FunctionDefinition()
Private constructor used only by JAXB. |
private |
FunctionDefinition(FunctionDefinition.Builder builder)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
List<CategoryDefinition> |
getCategories()
Returns an ordered, immutable 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<FunctionParameterDefinition> |
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. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
The active indicator for an object. |
String |
toString()
This will return a proper string representation of the Model Object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final String id
private final String namespace
private final String name
private final String description
private final String returnType
private final String typeId
private final boolean active
private final Long versionNumber
private final List<FunctionParameterDefinition> parameters
private final List<CategoryDefinition> categories
private final Collection<Element> _futureElements
Constructor Detail |
---|
private FunctionDefinition()
private FunctionDefinition(FunctionDefinition.Builder builder)
Method Detail |
---|
public String getId()
Identifiable
getId
in interface Identifiable
public String getNamespace()
FunctionDefinitionContract
getNamespace
in interface FunctionDefinitionContract
public String getName()
FunctionDefinitionContract
getName
in interface FunctionDefinitionContract
public String getDescription()
FunctionDefinitionContract
getDescription
in interface FunctionDefinitionContract
public String getReturnType()
FunctionDefinitionContract
getReturnType
in interface FunctionDefinitionContract
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 isActive()
Inactivatable
isActive
in interface Inactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public List<FunctionParameterDefinition> getParameters()
FunctionDefinitionContract
getParameters
in interface FunctionDefinitionContract
public List<CategoryDefinition> getCategories()
FunctionDefinitionContract
getCategories
in interface FunctionDefinitionContract
public int hashCode()
ModelObjectComplete
ModelObjectComplete.hashCode()
contract.
hashCode
in interface ModelObjectComplete
hashCode
in class Object
public boolean equals(Object obj)
ModelObjectComplete
ModelObjectComplete.equals(Object)
contract.
equals
in interface ModelObjectComplete
equals
in class Object
obj
- to object to compare for equality
public String toString()
ModelObjectBasic
toString
in interface ModelObjectBasic
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |