|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.semoa.service.AbstractService examples.carcontrol.LockServiceImpl
Field Summary | |
private boolean |
isLocked
represents the status of the centralised door locking |
Fields inherited from class de.fhg.igd.semoa.service.AbstractService |
REV_POSTFIX, REV_PREFIX |
Fields inherited from interface examples.carcontrol.LockService |
PUBLISH_KEY |
Constructor Summary | |
LockServiceImpl()
|
Method Summary | |
String |
author()
Returns the name of the author of the service. |
String |
info()
Returns the informative string which should describe the service's essence in a sentence. |
boolean |
isLocked()
Requests status of centralised door locking system. |
void |
lock()
Locks centralised door locking |
String |
revision()
Returns the revision number of this class as a string. |
void |
unlock()
Unlocks centralised door locking |
Methods inherited from class de.fhg.igd.semoa.service.AbstractService |
checkDependencies, dependencies, docs, doPrivileged, doPrivileged, getACC, getEnvironment, majorVersion, minorVersion, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean isLocked
Constructor Detail |
public LockServiceImpl()
Method Detail |
public String author()
AbstractService
author
in interface Service
author
in class AbstractService
public String revision()
AbstractService
majorVersion()
, minorVersion
based on the assumption that this method returns a
revision string as generated by rcs(1) for the template
"$Revision: 1.7 $/$Date: 2007-08-08 04:41:53 +0200 (Wed, 08 Aug 2007) $".
revision
in class AbstractService
public String info()
AbstractService
info
in interface Service
info
in class AbstractService
public void unlock()
unlock
in interface LockService
public void lock()
lock
in interface LockService
public boolean isLocked()
isLocked
in interface LockService
true
if centralised door locking is locked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |