public class WonNodeInformationServiceImpl extends java.lang.Object implements WonNodeInformationService
| Constructor and Description |
|---|
WonNodeInformationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
generateNeedURI()
Generates a random need URI according to the URI pattern of the
default won node.
|
java.net.URI |
generateNeedURI(java.net.URI wonNodeURI)
Generates a random need 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 need or
connection resource.
|
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
|
boolean |
isValidNeedURI(java.net.URI needURI)
Checks if the passed need URI is matching the won default node pattern
|
boolean |
isValidNeedURI(java.net.URI needURI,
java.net.URI wonNodeURI)
Checks if the passed need 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 generateNeedURI()
WonNodeInformationServicegenerateNeedURI 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 generateNeedURI(java.net.URI wonNodeURI)
WonNodeInformationServicegenerateNeedURI in interface WonNodeInformationServicepublic boolean isValidNeedURI(java.net.URI needURI)
WonNodeInformationServiceisValidNeedURI in interface WonNodeInformationServicepublic boolean isValidNeedURI(java.net.URI needURI,
java.net.URI wonNodeURI)
WonNodeInformationServiceisValidNeedURI 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 © 2018. All Rights Reserved.