Package ch.tocco.nice2.dms.impl.uri
Class EntityUriImpl
-
Field Summary
FieldsFields inherited from class ch.tocco.nice2.dms.impl.uri.AbstractUri
uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EntityUrifromString(String uri) Create an EntityUri from string.getPk()getType()inthashCode()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:
withFragmentin interfaceNiceUri<EntityUri>
-
withQueryAndFragment
- Specified by:
withQueryAndFragmentin interfaceNiceUri<EntityUri>
-
toString
-
equals
-
hashCode
public int hashCode()
-