public class WonNodeInformationServiceImpl extends java.lang.Object implements WonNodeInformationService
| Constructor and Description |
|---|
WonNodeInformationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
generateAtomURI()
Generates a random atom URI according to the URI pattern of the default won
node.
|
java.net.URI |
generateAtomURI(java.net.URI wonNodeURI)
Generates a random atom URI according to the URI pattern of the specified won
node.
|
java.net.URI |
generateConnectionURI()
Generates a random connection URI according to the URI pattern of the default
won node.
|
java.net.URI |
generateConnectionURI(java.net.URI wonNodeURI)
Generates a random connection URI according to the URI pattern of the
specified won node.
|
java.net.URI |
generateEventURI()
Generates a random event URI according to the URI pattern of the default won
node.
|
java.net.URI |
generateEventURI(java.net.URI wonNodeURI)
Generates a random event URI according to the URI pattern of the specified
won node.
|
java.net.URI |
getDefaultWonNodeURI() |
WonNodeInfo |
getWonNodeInformation(java.net.URI wonNodeURI) |
java.net.URI |
getWonNodeUri(java.net.URI resourceURI)
Obtains the won node uri associated with the specified atom or connection
resource.
|
boolean |
isValidAtomURI(java.net.URI atomURI)
Checks if the passed atom URI is matching the won default node pattern
|
boolean |
isValidAtomURI(java.net.URI atomURI,
java.net.URI wonNodeURI)
Checks if the passed atom URI is matching the won node pattern
|
boolean |
isValidConnectionURI(java.net.URI connectionURI)
Checks if the passed connection URI is matching the won default node pattern
|
boolean |
isValidConnectionURI(java.net.URI connectionURI,
java.net.URI wonNodeURI)
Checks if the passed event URI is matching the won node pattern
|
boolean |
isValidEventURI(java.net.URI eventURI)
Checks if the passed event URI is matching the won node default pattern
|
boolean |
isValidEventURI(java.net.URI eventURI,
java.net.URI wonNodeURI)
Checks if the passed event URI is matching the won node pattern
|
void |
setDefaultWonNodeUri(java.net.URI defaultWonNodeUri) |
void |
setLinkedDataSource(LinkedDataSource linkedDataSource) |
void |
setRandomNumberService(RandomNumberService randomNumberService) |
public WonNodeInfo getWonNodeInformation(java.net.URI wonNodeURI)
getWonNodeInformation in interface WonNodeInformationServicepublic java.net.URI generateAtomURI()
WonNodeInformationServicegenerateAtomURI in interface WonNodeInformationServicepublic java.net.URI generateEventURI(java.net.URI wonNodeURI)
WonNodeInformationServicegenerateEventURI in interface WonNodeInformationServicepublic boolean isValidEventURI(java.net.URI eventURI)
WonNodeInformationServiceisValidEventURI in interface WonNodeInformationServicepublic boolean isValidEventURI(java.net.URI eventURI,
java.net.URI wonNodeURI)
WonNodeInformationServiceisValidEventURI in interface WonNodeInformationServicepublic java.net.URI generateConnectionURI()
WonNodeInformationServicegenerateConnectionURI in interface WonNodeInformationServicepublic java.net.URI generateConnectionURI(java.net.URI wonNodeURI)
WonNodeInformationServicegenerateConnectionURI in interface WonNodeInformationServicepublic boolean isValidConnectionURI(java.net.URI connectionURI)
WonNodeInformationServiceisValidConnectionURI in interface WonNodeInformationServicepublic boolean isValidConnectionURI(java.net.URI connectionURI,
java.net.URI wonNodeURI)
WonNodeInformationServiceisValidConnectionURI in interface WonNodeInformationServicepublic java.net.URI generateEventURI()
WonNodeInformationServicegenerateEventURI in interface WonNodeInformationServicepublic java.net.URI generateAtomURI(java.net.URI wonNodeURI)
WonNodeInformationServicegenerateAtomURI in interface WonNodeInformationServicepublic boolean isValidAtomURI(java.net.URI atomURI)
WonNodeInformationServiceisValidAtomURI in interface WonNodeInformationServicepublic boolean isValidAtomURI(java.net.URI atomURI,
java.net.URI wonNodeURI)
WonNodeInformationServiceisValidAtomURI in interface WonNodeInformationServicepublic java.net.URI getWonNodeUri(java.net.URI resourceURI)
WonNodeInformationServicegetWonNodeUri in interface WonNodeInformationServicepublic java.net.URI getDefaultWonNodeURI()
getDefaultWonNodeURI in interface WonNodeInformationServicepublic void setDefaultWonNodeUri(java.net.URI defaultWonNodeUri)
public void setLinkedDataSource(LinkedDataSource linkedDataSource)
public void setRandomNumberService(RandomNumberService randomNumberService)
Copyright © 2019. All Rights Reserved.