public static class GenericLink.LinkConcreteBuilder extends Object implements LinkBuilder
Modifier and Type | Method and Description |
---|---|
Link |
build()
Creates and return the Model Entity M
|
LinkBuilder |
from(Link in)
Creates a Builder using the param M as the default values
|
GenericLink.LinkConcreteBuilder |
href(String href) |
GenericLink.LinkConcreteBuilder |
rel(String rel) |
GenericLink.LinkConcreteBuilder |
type(String type) |
public GenericLink.LinkConcreteBuilder rel(String rel)
rel
in interface LinkBuilder
GenericLink.getRel()
public GenericLink.LinkConcreteBuilder href(String href)
href
in interface LinkBuilder
GenericLink.getHref()
public GenericLink.LinkConcreteBuilder type(String type)
type
in interface LinkBuilder
GenericLink.getType()
public Link build()
build
in interface Buildable.Builder<LinkBuilder,Link>
public LinkBuilder from(Link in)
from
in interface Buildable.Builder<LinkBuilder,Link>
Copyright © 2017. All rights reserved.