|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Networks
The networks interface defines the functionality provided by a collection of individual network objects.
| Method Summary | ||
|---|---|---|
void |
addAll(List<Network> networks)
Merges the specified list of networks into this set of networks. |
|
void |
addAll(Networks networks)
Merges the specified set of networks into this set of networks. |
|
void |
addNetwork(Network network)
If the collection of networks already has a network with the same role and arcrole, then the relationships from the added network are added into the existing network. |
|
void |
addRelationship(Relationship relationship)
|
|
void |
addRelationships(Collection<Relationship> relationships)
|
|
void |
addRelationships(URI arcrole)
Adds all relationships with the given arcrole to the set of networks. |
|
void |
complete()
Complete the networks, finding all active relationships in the data store that participate in the networks. |
|
List<Relationship> |
getActiveRelationships()
|
|
SortedSet<Relationship> |
getActiveRelationshipsFrom(String index)
|
|
SortedSet<Relationship> |
getActiveRelationshipsTo(String index)
|
|
List<URI> |
getArcroles()
|
|
List<URI> |
getLinkRoles(URI arcrole)
|
|
Network |
getNetwork(URI linkRole,
URI arcrole)
|
|
Networks |
getNetworks(URI arcrole)
|
|
int |
getSize()
|
|
|
getSources(String targetIndex,
URI arcrole)
|
|
|
getSources(String targetIndex,
URI linkRole,
URI arcrole)
|
|
Store |
getStore()
|
|
|
getTargets(String sourceIndex,
URI arcrole)
|
|
|
getTargets(String sourceIndex,
URI linkRole,
URI arcrole)
|
|
boolean |
hasNetwork(URI linkRole,
URI arcrole)
|
|
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
List<Relationship> getActiveRelationships()
throws XBRLException
XBRLException
SortedSet<Relationship> getActiveRelationshipsFrom(String index)
throws XBRLException
index - The index of the source fragment.
XBRLException
SortedSet<Relationship> getActiveRelationshipsTo(String index)
throws XBRLException
index - The index of the target fragment.
XBRLException
void complete()
throws XBRLException
XBRLException
void addNetwork(Network network)
throws XBRLException
network - The network to add to the collection of networks.
XBRLException
Network getNetwork(URI linkRole,
URI arcrole)
throws XBRLException
linkRole - The link role of the network to get.arcrole - The arc role of the network to get.
XBRLException
Networks getNetworks(URI arcrole)
throws XBRLException
arcrole - The arc role to get the networks for.
XBRLException
<F extends Fragment> List<F> getSources(String targetIndex,
URI arcrole)
throws XBRLException
targetIndex - The index of the fragment that is the target for the sources
being retrievedarcrole - The arc role of the relationships to navigate from the given target
to the sources being retrieved.
XBRLException
<F extends Fragment> List<F> getSources(String targetIndex,
URI linkRole,
URI arcrole)
throws XBRLException
targetIndex - The index of the fragment that is the target for the sources
being retrievedlinkRole - The arc role of the relationships to navigate from the given target
to the sources being retrieved.arcrole - The arc role of the relationships to navigate from the given target
to the sources being retrieved.
XBRLException
<F extends Fragment> List<F> getTargets(String sourceIndex,
URI arcrole)
throws XBRLException
sourceIndex - The index of the fragment that is the source for the targets
being retrievedarcrole - The arc role of the relationships to navigate from the given source
to the targets being retrieved.
XBRLException
<F extends Fragment> List<F> getTargets(String sourceIndex,
URI linkRole,
URI arcrole)
throws XBRLException
sourceIndex - The index of the fragment that is the source for the targets
being retrievedlinkRole - The arc role of the relationships to navigate from the given source
to the targets being retrieved.arcrole - The arc role of the relationships to navigate from the given source
to the targets being retrieved.
XBRLException
boolean hasNetwork(URI linkRole,
URI arcrole)
linkRole - The link role of the network to get.arcrole - The arc role of the network to get.
void addRelationship(Relationship relationship)
throws XBRLException
relationship - The relationship to add to the collection of networks.
XBRLException
void addRelationships(Collection<Relationship> relationships)
throws XBRLException
relationships - THe list of relationships to add to the networks
XBRLException
void addRelationships(URI arcrole)
throws XBRLException
arcrole - The required arcrole.
XBRLException
List<URI> getArcroles()
throws XBRLException
XBRLException
List<URI> getLinkRoles(URI arcrole)
throws XBRLException
arcrole - The arc role for which the link roles are required.
XBRLException
int getSize()
throws XBRLException
XBRLExceptionStore getStore()
void addAll(Networks networks)
throws XBRLException
networks - The networks to merge
into this collection of networks.
XBRLException
void addAll(List<Network> networks)
throws XBRLException
networks - The networks to merge
into this collection of networks.
XBRLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||