public interface ILinkSet extends Set<IGPO>
IGPO
.
Note that the links out are only intended to be used to represent many-many associations. Standard one-many associations should be represented by linksIn (many links pointing to one resource rather than many links from one resource pointing to many other resources).
The LinksOut as the low-cardinality part of a many-many association reflect common asymmetry of such associations. Experience suggests that if the association is more symmetric the cardinalities tend not to be large.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns
true iff o is the same link set (same link
property and same container). |
org.openrdf.model.URI |
getLinkProperty()
The name of the property that the members of the link set use to point to
the generic object that is collecting this link set.
|
IGPO |
getOwner()
The generic object that is being pointed at by the members of the link
set.
|
boolean |
isLinkSetIn()
true iff this link set models the links into the owner
(edges in) and false iff this link set models the links out
of the owner (edges out). |
<C> Iterator<C> |
iterator(Class<C> theClassOrInterface)
Returns an
Iterator that will visit objects that are instances of
the specificed class or interface (the backing IGPO objects
are wrapped by a suitable IGenericSkin ). |
int |
size()
The #of members in the link set.
|
long |
sizeLong() |
<C> Iterator<C> |
statements() |
boolean equals(Object o)
true
iff o is the same link set (same link
property and same container).equals
in interface Collection<IGPO>
equals
in interface Set<IGPO>
equals
in class Object
getLinkProperty()
,
getOwner()
IGPO getOwner()
org.openrdf.model.URI getLinkProperty()
boolean isLinkSetIn()
true
iff this link set models the links into the owner
(edges in) and false
iff this link set models the links out
of the owner (edges out).int size()
long sizeLong()
<C> Iterator<C> iterator(Class<C> theClassOrInterface)
Iterator
that will visit objects that are instances of
the specificed class or interface (the backing IGPO
objects
are wrapped by a suitable IGenericSkin
).UnsupportedOperationException
- if theClassOrInterface is not a registered
IGenericSkin
.<C> Iterator<C> statements()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.