public static class TermResolverDefinition.Builder extends Object implements TermResolverDefinitionContract, ModelBuilder, Serializable
Modifier and Type | Method and Description |
---|---|
TermResolverDefinition |
build()
This overridden method ...
|
static TermResolverDefinition.Builder |
create(String id,
String namespaceCode,
String name,
String typeId,
TermSpecificationDefinition.Builder output,
Set<TermSpecificationDefinition.Builder> prerequisites,
Map<String,String> attributes,
Set<String> parameterNames) |
static TermResolverDefinition.Builder |
create(TermResolverDefinitionContract termResolver) |
Map<String,String> |
getAttributes()
Gets any attributes specified on the term resolver definition.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
Gets the name for the defined term resolver.
|
String |
getNamespace()
Gets the namespace for the defined term resolver.
|
TermSpecificationDefinition.Builder |
getOutput()
Gets the term specification for the output of the defined term resolver.
|
Set<String> |
getParameterNames()
Gets the names of any parameters that the defined term resolver requires.
|
Set<TermSpecificationDefinition.Builder> |
getPrerequisites()
Gets the term specifications for any prerequisite terms of the defined term resolver.
|
String |
getTypeId()
Gets the type id for the defined term resolver.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setAttributes(Map<String,String> attributes) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setOutput(TermSpecificationDefinition.Builder output) |
void |
setParameterNames(Set<String> parameterNames) |
void |
setPrerequisites(Set<TermSpecificationDefinition.Builder> prerequisites) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
public static TermResolverDefinition.Builder create(TermResolverDefinitionContract termResolver)
public static TermResolverDefinition.Builder create(String id, String namespaceCode, String name, String typeId, TermSpecificationDefinition.Builder output, Set<TermSpecificationDefinition.Builder> prerequisites, Map<String,String> attributes, Set<String> parameterNames)
public void setNamespace(String namespace)
namespace
- the namespace to setpublic void setActive(boolean active)
active
- the active indicatorpublic void setOutput(TermSpecificationDefinition.Builder output)
output
- the output to setpublic void setPrerequisites(Set<TermSpecificationDefinition.Builder> prerequisites)
prerequisites
- the prerequisites to setpublic void setAttributes(Map<String,String> attributes)
attributes
- the attributes to setpublic void setParameterNames(Set<String> parameterNames)
parameterNames
- the parameterNames to setpublic void setVersionNumber(Long versionNumber)
versionNumber
- the versionNumber to set. May be null.public String getId()
Identifiable
getId
in interface Identifiable
public String getNamespace()
TermResolverDefinitionContract
getNamespace
in interface TermResolverDefinitionContract
public String getName()
TermResolverDefinitionContract
getName
in interface TermResolverDefinitionContract
public String getTypeId()
TermResolverDefinitionContract
getTypeId
in interface TermResolverDefinitionContract
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public TermSpecificationDefinition.Builder getOutput()
TermResolverDefinitionContract
getOutput
in interface TermResolverDefinitionContract
public Set<TermSpecificationDefinition.Builder> getPrerequisites()
TermResolverDefinitionContract
getPrerequisites
in interface TermResolverDefinitionContract
public Map<String,String> getAttributes()
TermResolverDefinitionContract
getAttributes
in interface TermResolverDefinitionContract
public Set<String> getParameterNames()
TermResolverDefinitionContract
getParameterNames
in interface TermResolverDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public TermResolverDefinition build()
build
in interface ModelBuilder
ModelBuilder.build()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.