Package org.apache.camel.tooling.model
Class BaseOptionModel
- java.lang.Object
-
- org.apache.camel.tooling.model.BaseOptionModel
-
- Direct Known Subclasses:
ComponentModel.ApiOptionModel
,ComponentModel.ComponentOptionModel
,ComponentModel.EndpointHeaderModel
,ComponentModel.EndpointOptionModel
,DataFormatModel.DataFormatOptionModel
,EipModel.EipOptionModel
,LanguageModel.LanguageOptionModel
,MainModel.MainOptionModel
public abstract class BaseOptionModel extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
asPredicate
protected boolean
autowired
protected String
configurationClass
protected String
configurationField
protected Object
defaultValue
protected String
defaultValueNote
protected boolean
deprecated
protected String
deprecationNote
protected String
description
protected String
displayName
protected List<String>
enums
protected String
getterMethod
protected String
group
protected String
javaType
protected String
kind
protected String
label
protected boolean
multiValue
protected String
name
protected String
nestedType
protected boolean
newGroup
protected List<String>
oneOfs
protected String
optionalPrefix
protected String
prefix
protected boolean
required
protected boolean
secret
protected String
setterMethod
protected String
type
-
Constructor Summary
Constructors Constructor Description BaseOptionModel()
-
Method Summary
-
-
-
Field Detail
-
name
protected String name
-
kind
protected String kind
-
displayName
protected String displayName
-
group
protected String group
-
label
protected String label
-
required
protected boolean required
-
type
protected String type
-
javaType
protected String javaType
-
prefix
protected String prefix
-
optionalPrefix
protected String optionalPrefix
-
multiValue
protected boolean multiValue
-
deprecated
protected boolean deprecated
-
deprecationNote
protected String deprecationNote
-
secret
protected boolean secret
-
autowired
protected boolean autowired
-
defaultValue
protected Object defaultValue
-
defaultValueNote
protected String defaultValueNote
-
asPredicate
protected boolean asPredicate
-
setterMethod
protected String setterMethod
-
getterMethod
protected String getterMethod
-
configurationClass
protected String configurationClass
-
configurationField
protected String configurationField
-
description
protected String description
-
nestedType
protected String nestedType
-
newGroup
protected boolean newGroup
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getKind
public String getKind()
-
setKind
public void setKind(String kind)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
getGroup
public String getGroup()
-
setGroup
public void setGroup(String group)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getJavaType
public String getJavaType()
-
setJavaType
public void setJavaType(String javaType)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getOptionalPrefix
public String getOptionalPrefix()
-
setOptionalPrefix
public void setOptionalPrefix(String optionalPrefix)
-
isMultiValue
public boolean isMultiValue()
-
setMultiValue
public void setMultiValue(boolean multiValue)
-
isDeprecated
public boolean isDeprecated()
-
setDeprecated
public void setDeprecated(boolean deprecated)
-
getDeprecationNote
public String getDeprecationNote()
-
setDeprecationNote
public void setDeprecationNote(String deprecationNote)
-
isSecret
public boolean isSecret()
-
setSecret
public void setSecret(boolean secret)
-
isAutowired
public boolean isAutowired()
-
setAutowired
public void setAutowired(boolean autowired)
-
getDefaultValue
public Object getDefaultValue()
-
setDefaultValue
public void setDefaultValue(Object defaultValue)
-
getDefaultValueNote
public String getDefaultValueNote()
-
setDefaultValueNote
public void setDefaultValueNote(String defaultValueNote)
-
isAsPredicate
public boolean isAsPredicate()
-
setAsPredicate
public void setAsPredicate(boolean asPredicate)
-
getSetterMethod
public String getSetterMethod()
-
setSetterMethod
public void setSetterMethod(String setterMethod)
-
getGetterMethod
public String getGetterMethod()
-
setGetterMethod
public void setGetterMethod(String getterMethod)
-
getConfigurationClass
public String getConfigurationClass()
-
setConfigurationClass
public void setConfigurationClass(String configurationClass)
-
getConfigurationField
public String getConfigurationField()
-
setConfigurationField
public void setConfigurationField(String configurationField)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isNewGroup
public boolean isNewGroup()
-
setNewGroup
public void setNewGroup(boolean newGroup)
-
getNestedType
public String getNestedType()
-
setNestedType
public void setNestedType(String nestedType)
-
getShortGroup
public String getShortGroup()
-
getShortJavaType
public String getShortJavaType()
-
getShortJavaType
@Deprecated public String getShortJavaType(int watermark)
Deprecated.
-
getShortDefaultValue
public String getShortDefaultValue(int watermark)
-
getShortName
public String getShortName(int watermark)
-
-