|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object i3.dragos.gm.core.proxy.ProxyWrapper
public class ProxyWrapper
The ProxyWrapper
provides methods to wrap graph entity, graph
entity classes, and attributes into so-called proxies. These proxies hold
the informations that should be accessible regardless of the existence of the
corresponing class (see background for more details). The proxies are
only intended to be used by data source implementations, as they do not offer
the functionality of real wrappers.
Background: Some data source implementations load field values on demand. When the graph entity has been removed from the data source these fields are no longer accessible. Thus, queries to these fields fail. As we don't want to bother users with this detail, implementations can use the proxies returned by this wrapper to hide this detail.
Constructor Summary | |
---|---|
ProxyWrapper()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyWrapper()
Method Detail |
---|
public static GraphEntity wrapGraphEntity(GraphEntity g)
g
- The GraphEntity to wrap, must not be null
public static Edge wrapEdge(Edge g)
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for detailspublic static Graph wrapGraph(Graph g)
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for detailspublic static Node wrapNode(Node g)
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for detailspublic static Relation wrapRelation(Relation g)
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for detailspublic static RelationEnd wrapRelationEnd(RelationEnd g)
wrapGraphEntity(GraphEntity)
to avoid casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntity(GraphEntity)
for detailspublic static GraphEntityClass wrapGraphEntityClass(GraphEntityClass g)
g
- The GraphEntityClass to wrap, must not be null
public static EdgeClass wrapEdgeClass(EdgeClass g)
wrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- see wrapGraphEntity(GraphEntity)
for details
wrapGraphEntityClass(GraphEntityClass)
for detailspublic static GraphClass wrapGraphClass(GraphClass g)
wrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for
details
wrapGraphEntityClass(GraphEntityClass)
for detailspublic static NodeClass wrapNodeClass(NodeClass g)
wrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for
details
wrapGraphEntityClass(GraphEntityClass)
for detailspublic static RelationClass wrapRelationClass(RelationClass g)
wrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for
details
wrapGraphEntityClass(GraphEntityClass)
for detailspublic static RelationEndClass wrapRelationEndClass(RelationEndClass g)
wrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- see wrapGraphEntityClass(GraphEntityClass)
for
details
wrapGraphEntityClass(GraphEntityClass)
for detailspublic static Attribute wrapAttribute(Attribute a)
a
- The Attribute to wrap, must not be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |