Package ch.tocco.nice2.dms.impl.uri
Class EntityUriImpl
-
Field Summary
Fields inherited from class ch.tocco.nice2.dms.impl.uri.AbstractUri
uri
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static EntityUri
fromString
(String uri) Create an EntityUri from string.getPk()
getType()
int
hashCode()
toString()
withFragment
(String fragment) withQueryAndFragment
(String query, String fragment) Methods inherited from class ch.tocco.nice2.dms.impl.uri.AbstractUri
checkMatches, toURI, withFragment, withQuery, withQueryAndFragment
-
Field Details
-
SCHEME
- See Also:
-
-
Constructor Details
-
EntityUriImpl
-
EntityUriImpl
-
-
Method Details
-
getType
-
getPk
-
fromString
Create an EntityUri from string. The given URI must match the pattern entity://[type]/[pk].- Parameters:
uri
- The URI to create the EntityUri for.- Returns:
- the created AdminUri.
- Throws:
IllegalArgumentException
- if the URI doesn't match the pattern.
-
withQuery
-
withFragment
- Specified by:
withFragment
in interfaceNiceUri<EntityUri>
-
withQueryAndFragment
- Specified by:
withQueryAndFragment
in interfaceNiceUri<EntityUri>
-
toString
-
equals
-
hashCode
public int hashCode()
-