public abstract static class Extension.Builder<T extends Extension.Builder<T>> extends Resource.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected String |
description |
protected URI |
namespace |
protected Date |
updated |
id, links, name
Constructor and Description |
---|
Extension.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
alias(String alias) |
Extension |
build() |
T |
description(String description) |
T |
fromExtension(Extension in) |
T |
id(String id) |
T |
namespace(URI namespace) |
T |
updated(Date updated) |
fromResource, links, links, name, self
protected URI namespace
protected String alias
protected Date updated
protected String description
public T namespace(URI namespace)
Extension.getNamespace()
public T alias(String alias)
Extension.getAlias()
public T id(String id)
id
in class Resource.Builder<T extends Extension.Builder<T>>
Extension.getAlias()
public T updated(Date updated)
Extension.getUpdated()
public T description(String description)
Extension.getDescription()
public Extension build()
build
in class Resource.Builder<T extends Extension.Builder<T>>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.