|
||||||||||
| 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 Form| Nested 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 Identifiablepublic String getNamespace()
FunctionDefinitionContract
getNamespace in interface FunctionDefinitionContractpublic String getName()
FunctionDefinitionContract
getName in interface FunctionDefinitionContractpublic String getDescription()
FunctionDefinitionContract
getDescription in interface FunctionDefinitionContractpublic String getReturnType()
FunctionDefinitionContract
getReturnType in interface FunctionDefinitionContractpublic 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 isActive()
Inactivatable
isActive in interface Inactivatablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic List<FunctionParameterDefinition> getParameters()
FunctionDefinitionContract
getParameters in interface FunctionDefinitionContractpublic List<CategoryDefinition> getCategories()
FunctionDefinitionContract
getCategories in interface FunctionDefinitionContractpublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object obj)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.
equals in interface ModelObjectCompleteequals in class Objectobj - to object to compare for equality
public String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||