Spring Hateoas

org.springframework.hateoas
Class VndErrors.VndError

java.lang.Object
  extended by org.springframework.hateoas.ResourceSupport
      extended by org.springframework.hateoas.VndErrors.VndError
All Implemented Interfaces:
Identifiable<Link>
Enclosing class:
VndErrors

public static class VndErrors.VndError
extends ResourceSupport

A single VndErrors.VndError.

Author:
Oliver Gierke

Constructor Summary
protected VndErrors.VndError()
          Protected default constructor to allow JAXB marshalling.
  VndErrors.VndError(String logref, String message, Link... links)
          Creates a new VndErrors.VndError with the given logref, a message as well as some Links.
 
Method Summary
 boolean equals(Object obj)
           
 String getLogref()
          Returns the logref of the error.
 String getMessage()
          Returns the message of the error.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.springframework.hateoas.ResourceSupport
add, add, getId, getLink, getLinks, hasLink, hasLinks, removeLinks
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VndErrors.VndError

public VndErrors.VndError(String logref,
                          String message,
                          Link... links)
Creates a new VndErrors.VndError with the given logref, a message as well as some Links.

Parameters:
logref - must not be null or empty.
message - must not be null or empty.
links -

VndErrors.VndError

protected VndErrors.VndError()
Protected default constructor to allow JAXB marshalling.

Method Detail

getLogref

public String getLogref()
Returns the logref of the error.

Returns:
the logref

getMessage

public String getMessage()
Returns the message of the error.

Returns:
the message

toString

public String toString()
Overrides:
toString in class ResourceSupport

hashCode

public int hashCode()
Overrides:
hashCode in class ResourceSupport

equals

public boolean equals(Object obj)
Overrides:
equals in class ResourceSupport

Spring Hateoas

Copyright © 2012-2014–2014 Pivotal, Inc.. All rights reserved.