#791 - Add 'name' property to Link. (#801)

This commit is contained in:
Greg Turnquist
2019-02-07 08:13:49 -06:00
committed by GitHub
parent 9590d1f9ef
commit 9518a2db9a
3 changed files with 34 additions and 6 deletions

View File

@@ -67,6 +67,22 @@ public abstract class LinkMixin extends Link {
@JsonInclude(Include.NON_NULL)
public abstract String getDeprecation();
/*
* (non-Javadoc)
* @see org.springframework.hateoas.Link#getProfile()
*/
@Override
@JsonInclude(Include.NON_NULL)
public abstract String getProfile();
/*
* (non-Javadoc)
* @see org.springframework.hateoas.Link#getName()
*/
@Override
@JsonInclude(Include.NON_NULL)
public abstract String getName();
/*
* (non-Javadoc)
* @see org.springframework.hateoas.Link#isTemplate()