public static final class EmbeddedICVConnection.View extends Object implements ConnectionView<Connection,ICVConnection>
View.ViewException
Constructor and Description |
---|
View(com.complexible.stardog.icv.ICVLimit theICVLimit) |
Modifier and Type | Method and Description |
---|---|
ICVConnection |
as(Connection theConnection)
Transform the object into the new view.
|
boolean |
canView(Connection theConnection,
Class<ICVConnection> theView)
Return whether or not the provided type of object can be viewed as the desired type.
|
public ICVConnection as(Connection theConnection) throws View.ViewException
as
in interface View<Connection,ICVConnection>
theConnection
- the object to changeView.ViewException
- if there was an error changing the view of the object.public boolean canView(Connection theConnection, Class<ICVConnection> theView)
View.as(Input)
will always succeed.canView
in interface View<Connection,ICVConnection>
theConnection
- the type of the object whose view is to be changedtheView
- the type of view we want.Copyright © 2010-2016 Stardog Union. All Rights Reserved.