|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.device.Control
public class Control
The Control class implements the ControlService interface.
ControlService,
ErrorListener,
MessageHandler,
String| Field Summary | |
|---|---|
protected static int |
EXCEPTION_READ_FAILED_RESOURCE
Define the exception read failed resource (int) constant. |
protected static int |
SET_VALUE_EXCEPTION_RESOURCE
Define the set value exception resource (int) constant. |
| Constructor Summary | |
|---|---|
Control()
Constructs an Control object. |
|
Control(java.lang.String key)
Constructs an Control object using the input parameter(s). |
|
| Method Summary | |
|---|---|
protected boolean |
attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
Attempt recovery from error with the specified error number and error parameters and return the boolean result. |
boolean |
equalsValue(java.lang.Object value,
java.lang.Object value2)
Perform the equalsValue method and return the boolean result. |
void |
errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
The errorOccurred method is called when an error has occurred. |
java.lang.reflect.Method |
findMethod(java.lang.Class target,
java.lang.String methodName,
java.lang.Class[] parameters)
Find method with the specified target, method name and parameters parameters and return the Method result. |
java.lang.String |
getCodeKey()
Gets the code key (String) value. |
protected int |
getErrorSeverity(int errorNumber,
java.lang.Throwable error)
Return the error severity of the specified error number. |
java.lang.String |
getKey()
Gets the String key property value. |
java.lang.String |
getQualifiedKey()
Gets the qualified key (String) value. |
java.lang.String |
getResource(int resourceId)
Gets the string resource using the supplied resourceId. |
protected void |
setKey(java.lang.String key)
Sets the key value. |
java.lang.String |
setQualifiedKey(java.lang.String qualifiedKey)
Sets the qualified key value. |
java.lang.String |
toString()
Perform the toString method and return the String result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int SET_VALUE_EXCEPTION_RESOURCE
protected static final int EXCEPTION_READ_FAILED_RESOURCE
| Constructor Detail |
|---|
public Control()
Control object.
Control(String)public Control(java.lang.String key)
Control object using the input parameter(s). java.lang.String
key - The key (String) parameter.Control()| Method Detail |
|---|
protected boolean attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
attemptRecoveryFromError in class EscObjecterrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
boolean) value.
public boolean equalsValue(java.lang.Object value,
java.lang.Object value2)
boolean result. java.lang.Object java.lang.Object
value - The value (Object) parameter.value2 - The value2 (Object) parameter.
boolean) value.
public void errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
errorOccurred in interface ErrorListenersource - The source (Object) parameter.timestamp - The time stamp (Object) parameter.data - The data (Object) parameter.
public java.lang.reflect.Method findMethod(java.lang.Class target,
java.lang.String methodName,
java.lang.Class[] parameters)
throws java.lang.SecurityException,
java.lang.NoSuchMethodException
target - The target (Class) parameter.methodName - The method name (String) parameter.parameters - The parameters (Class[]) parameter.
Method) value.
java.lang.SecurityException - Security Exception.
java.lang.NoSuchMethodException - No Such Method Exception.public java.lang.String getCodeKey()
String) value.
protected int getErrorSeverity(int errorNumber,
java.lang.Throwable error)
EscObject
getErrorSeverity in class EscObjecterrorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
int) value.EscObject.getErrorSeverity(int,Throwable)public java.lang.String getKey()
String key property value.
getKey in interface ControlServiceString) value.ControlService.getKey(),
getCodeKey(),
getQualifiedKey(),
setKey(String),
setQualifiedKey(String)public java.lang.String getQualifiedKey()
String) value.setQualifiedKey(String)public java.lang.String getResource(int resourceId)
getResource in class EscObjectresourceId - The resource ID (int) parameter.
String) value.EscObject.getDefaultResource(int)protected void setKey(java.lang.String key)
key - The key (String) parameter.getCodeKey(),
getKey(),
getQualifiedKey(),
setQualifiedKey(String)public java.lang.String setQualifiedKey(java.lang.String qualifiedKey)
qualifiedKey - The qualified key (String) parameter.
String) value.getQualifiedKey()public java.lang.String toString()
String result.
toString in class EscObjectString) value.EscObject.getStaticString(String,String),
EscObject.getString(String,String)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||