public abstract class BaseModel<O extends BaseOptionModel> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deprecated |
protected String |
deprecatedSince |
protected String |
deprecationNote |
protected String |
description |
protected String |
firstVersion |
protected String |
javaType |
protected String |
label |
protected String |
name |
protected boolean |
nativeSupported |
protected List<O> |
options |
protected SupportLevel |
supportLevel |
protected String |
title |
| Constructor and Description |
|---|
BaseModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOption(O option) |
static Comparator<BaseModel<?>> |
compareTitle() |
String |
getDeprecatedSince() |
String |
getDeprecationNote() |
String |
getDescription() |
String |
getFirstVersion() |
String |
getFirstVersionShort() |
String |
getJavaType() |
abstract String |
getKind() |
String |
getLabel() |
String |
getName() |
List<O> |
getOptions() |
String |
getShortJavaType() |
SupportLevel |
getSupportLevel() |
String |
getTitle() |
boolean |
isDeprecated() |
boolean |
isNativeSupported() |
void |
setDeprecated(boolean deprecated) |
void |
setDeprecatedSince(String deprecatedSince) |
void |
setDeprecationNote(String deprecationNote) |
void |
setDescription(String description) |
void |
setFirstVersion(String firstVersion) |
void |
setJavaType(String javaType) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setNativeSupported(boolean nativeSupported) |
void |
setSupportLevel(SupportLevel supportLevel) |
void |
setTitle(String title) |
protected String name
protected String title
protected String description
protected String firstVersion
protected String javaType
protected String label
protected boolean deprecated
protected String deprecatedSince
protected String deprecationNote
protected final List<O extends BaseOptionModel> options
protected SupportLevel supportLevel
protected boolean nativeSupported
public static Comparator<BaseModel<?>> compareTitle()
public abstract String getKind()
public String getName()
public void setName(String name)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getFirstVersion()
public void setFirstVersion(String firstVersion)
public String getLabel()
public void setLabel(String label)
public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
public String getDeprecationNote()
public void setDeprecationNote(String deprecationNote)
public String getDeprecatedSince()
public void setDeprecatedSince(String deprecatedSince)
public String getJavaType()
public void setJavaType(String javaType)
public void addOption(O option)
public String getShortJavaType()
public String getFirstVersionShort()
public SupportLevel getSupportLevel()
public void setSupportLevel(SupportLevel supportLevel)
public boolean isNativeSupported()
true if the part represented by this model supports compilation to native code; false
otherwisepublic void setNativeSupported(boolean nativeSupported)
nativeSupported - see isNativeSupported()Apache Camel