public abstract class AbstractDeviceAutomaton extends AbstractConnectableAutomaton implements LinkComponent.LinkAutomaton
AbstractDeviceAutomaton
implements the very basic
AbstractDeviceAutomaton
functionality.LinkComponent.LinkAutomaton
Openable.OpenAutomaton
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
Closable.CloseAutomaton
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
ConnectableComponent.ConnectableAutomaton
Constructor and Description |
---|
AbstractDeviceAutomaton() |
Modifier and Type | Method and Description |
---|---|
boolean |
isOpenable()
Determines whether the component's connection(s) may get opened.
|
void |
open()
Open the component's connection(s).
|
close, getConnectionStatus, isClosable, isClosed, isOpened, setConnectionStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOpened
isClosable
isClosed
getConnectionStatus
public boolean isOpenable()
Openable.OpenAutomaton
isOpenable
in interface Openable.OpenAutomaton
isOpenable
in class AbstractConnectableAutomaton
Openable.open()
is possible.Openable.OpenAutomaton.isOpenable()
public void open() throws OpenException
Openable
open
in interface Openable
open
in class AbstractConnectableAutomaton
OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Openable.open()
Copyright © 2016. All rights reserved.