Spring Hateoas

org.springframework.hateoas
Interface Identifiable<ID extends Serializable>

All Known Implementing Classes:
PagedResources, Resource, Resources, ResourcesMixin, ResourceSupport, VndErrors.VndError

public interface Identifiable<ID extends Serializable>

Interface to mark objects that are identifiable by an ID of any type.

Author:
Oliver Gierke

Method Summary
 ID getId()
          Returns the id identifying the object.
 

Method Detail

getId

ID getId()
Returns the id identifying the object.

Returns:
the identifier or null if not available.

Spring Hateoas

Copyright © 2012-2014-2014 Pivotal, Inc.. All Rights Reserved.