|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.clustering.lingo.ClusterBuilderDescriptor
@Generated(value="Generated from org.carrot2.clustering.lingo.ClusterBuilder") public final class ClusterBuilderDescriptor
Metadata and attributes of the ClusterBuilder component. You can use
this descriptor to obtain metadata, such as human readable name and description, about the component
as a whole as well as about its attributes. Using the attributeBuilder(Map)
you can obtain a builder for type-safe generation of the attribute maps. Please see the
main overview for a complete code example.
| Nested Class Summary | |
|---|---|
static class |
ClusterBuilderDescriptor.AttributeBuilder
Attribute map builder for the ClusterBuilder component. |
static class |
ClusterBuilderDescriptor.Attributes
All attributes of the ClusterBuilder component. |
static class |
ClusterBuilderDescriptor.Keys
Constants for all attribute keys of the ClusterBuilder component. |
| Field Summary | |
|---|---|
static ClusterBuilderDescriptor.Attributes |
attributes
Attributes of the component. |
String |
bindableClassName
The component class for which this descriptor was generated. |
String |
description
A longer, possibly multi sentence, description of the component. |
String |
label
A short label for the component. |
String |
prefix
Attribute prefix used by the component. |
String |
title
A one sentence summary of the component. |
| Constructor Summary | |
|---|---|
ClusterBuilderDescriptor()
|
|
| Method Summary | |
|---|---|
static ClusterBuilderDescriptor.AttributeBuilder |
attributeBuilder(Map<String,Object> attributeValues)
Creates an attribute map builder for the component. |
Set<AttributeInfo> |
getAttributes()
Returns descriptors of attributes declared by the component or its superclasses. |
Map<String,AttributeInfo> |
getAttributesByFieldName()
Returns descriptors of attributes declared by the component or its superclasses mapped by the field name. |
Map<String,AttributeInfo> |
getAttributesByKey()
Returns descriptors of attributes declared by the component or its superclasses mapped by the attribute key. |
String |
getDescription()
Returns a one sentence summary of the component. |
String |
getLabel()
Returns a short label for the component. |
Set<AttributeInfo> |
getOwnAttributes()
Returns descriptors of attributes declared directly by the component. |
String |
getPrefix()
Returns the attribute prefix used by the component. |
String |
getTitle()
Returns a one sentence summary of the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String bindableClassName
public final String prefix
public final String title
public final String label
public final String description
public static final ClusterBuilderDescriptor.Attributes attributes
| Constructor Detail |
|---|
public ClusterBuilderDescriptor()
| Method Detail |
|---|
public static ClusterBuilderDescriptor.AttributeBuilder attributeBuilder(Map<String,Object> attributeValues)
attributeValues - An existing map which should be used to collect attribute values.
Attribute values set by this builder will be added to the provided map, overwriting
previously defined mappings, if any.public String getPrefix()
IBindableDescriptor
getPrefix in interface IBindableDescriptorpublic String getTitle()
IBindableDescriptor
getTitle in interface IBindableDescriptorpublic String getLabel()
IBindableDescriptor
getLabel in interface IBindableDescriptorpublic String getDescription()
IBindableDescriptor
getDescription in interface IBindableDescriptorpublic Set<AttributeInfo> getOwnAttributes()
IBindableDescriptor
getOwnAttributes in interface IBindableDescriptorpublic Set<AttributeInfo> getAttributes()
IBindableDescriptor
getAttributes in interface IBindableDescriptorpublic Map<String,AttributeInfo> getAttributesByKey()
IBindableDescriptor
getAttributesByKey in interface IBindableDescriptorpublic Map<String,AttributeInfo> getAttributesByFieldName()
IBindableDescriptor
getAttributesByFieldName in interface IBindableDescriptor
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||