public class LongIdHandler extends Object implements ResourceIdHandler
Long as resource identifier type.| Constructor and Description |
|---|
LongIdHandler()
Creates new LongIdHandler.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asString(Object identifier)
Convert identifier to
String. |
Long |
fromString(String source)
Create identifier object by consuming its string representation.
|
public String asString(Object identifier)
ResourceIdHandlerString.asString in interface ResourceIdHandleridentifier - to convertString identifier string representationpublic Long fromString(String source)
ResourceIdHandlerfromString in interface ResourceIdHandlersource - String identifierCopyright © 2017. All rights reserved.