org.glassfish.jersey.examples.shortener.webapp.domain
Class ShortenedLink
java.lang.Object
org.glassfish.jersey.examples.shortener.webapp.domain.ShortenedLink
public class ShortenedLink
- extends Object
Representation of shortened link.
- Author:
- Michal Gajdos (michal.gajdos at oracle.com)
ShortenedLink
public ShortenedLink()
ShortenedLink
public ShortenedLink(URI original,
URI permanent,
URI shortened)
getOriginal
public URI getOriginal()
setOriginal
public void setOriginal(URI original)
getShortened
public URI getShortened()
setShortened
public void setShortened(URI shortened)
getPermanent
public URI getPermanent()
setPermanent
public void setPermanent(URI permanent)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.