public enum AvaticaRemoteConnectionProperty extends Enum<AvaticaRemoteConnectionProperty> implements ConnectionProperty
ConnectionProperty.Type| Enum Constant and Description |
|---|
FACTORY
Factory.
|
| Modifier and Type | Method and Description |
|---|---|
String |
camelName()
The name of this property in camel-case.
|
Object |
defaultValue()
Returns the default value of this property.
|
boolean |
required()
Whether the property is mandatory.
|
ConnectionProperty.Type |
type()
Returns the data type of this property.
|
Class |
valueClass()
Class of values that this property can take.
|
static AvaticaRemoteConnectionProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvaticaRemoteConnectionProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ConnectionConfigImpl.PropEnv |
wrap(Properties properties)
Wraps this property with a properties object from which its value can be
obtained when needed.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final AvaticaRemoteConnectionProperty FACTORY
public static AvaticaRemoteConnectionProperty[] values()
for (AvaticaRemoteConnectionProperty c : AvaticaRemoteConnectionProperty.values()) System.out.println(c);
public static AvaticaRemoteConnectionProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String camelName()
ConnectionPropertycamelName in interface ConnectionPropertypublic Object defaultValue()
ConnectionPropertydefaultValue in interface ConnectionPropertypublic ConnectionProperty.Type type()
ConnectionPropertytype in interface ConnectionPropertypublic Class valueClass()
ConnectionPropertyConnectionProperty.Type.ENUM properties.valueClass in interface ConnectionPropertypublic ConnectionConfigImpl.PropEnv wrap(Properties properties)
ConnectionPropertywrap in interface ConnectionPropertypublic boolean required()
ConnectionPropertyrequired in interface ConnectionPropertyCopyright © 2012-2025 Apache Software Foundation. All Rights Reserved.