|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sodius.mdw.core.model.io.ConnectorKind
public final class ConnectorKind
Enumeration of known connector kinds, which describe the kind of uri (resource locator) a connector expects.
This class cannot be instantiated or subclassed by clients.
ConnectorDescriptor.getKind(),
Model.read(String, String),
Model.write(String, String)| Field Summary | |
|---|---|
static ConnectorKind |
DIRECTORY
Directory kind : the uri passed to a connector must be a directory path. |
static ConnectorKind |
FILE
File kind : the uri passed to a connector must be a file path. |
static ConnectorKind |
NO_URI
No uri kind : the connector does not need any uri, the uri parameter can be null. |
static ConnectorKind |
UNSPECIFIED
Unspecified kind : the uri can be any arbitrary context specific String value,
in which case the model framework has no specific knowlegde on the uri form to pass to the connector. |
| Method Summary | |
|---|---|
boolean |
isDirectory()
Determines wheter this is a directory connector kind. |
boolean |
isFile()
Determines wheter this is a file connector kind. |
boolean |
isNoURI()
Determines wheter this is a no uri connector kind. |
boolean |
isUnspecified()
Determines wheter this is a unspecified connector kind. |
String |
toString()
Returns a String representation of this connector kind. |
static ConnectorKind |
valueOf(String value)
Determines the connector kind represented as a String value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ConnectorKind FILE
public static final ConnectorKind DIRECTORY
public static final ConnectorKind NO_URI
null.
public static final ConnectorKind UNSPECIFIED
String value,
in which case the model framework has no specific knowlegde on the uri form to pass to the connector.
| Method Detail |
|---|
public static final ConnectorKind valueOf(String value)
String value.
UNSPECIFIED if unrecognized.public boolean isFile()
true if this connector is FILE.public boolean isDirectory()
true if this connector is DIRECTORY.public boolean isNoURI()
true if this connector is NO_URI.public boolean isUnspecified()
true if this connector is UNSPECIFIED.public String toString()
String representation of this connector kind.
toString in class ObjectString representation of this connector kind.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||