@Valid public class LinkObject extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
LinkObject.Builder
Class implements builder to create a new instance of class
LinkObject. |
| Modifier | Constructor and Description |
|---|---|
protected |
LinkObject()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
LinkObject(LinkObject.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static LinkObject.Builder |
builder()
Method returns a new builder.
|
static LinkObject.Builder |
builder(LinkObject pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static LinkObject.Builder |
builder(String pHref)
Method creates a new builder and initializes it with the passed attributes.
|
String |
getHref()
Method returns attribute
href. |
void |
setHref(String pHref)
Method sets attribute
href. |
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
protected LinkObject()
protected LinkObject(LinkObject.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static LinkObject.Builder builder()
LinkObject.Builder New builder that can be used to create new LinkObject objects.public static LinkObject.Builder builder(LinkObject pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.LinkObject.Builder New builder that can be used to create new LinkObject objects. The method never returns
null.public static LinkObject.Builder builder(String pHref)
public void setHref(String pHref)
href.pHref - Value to which href should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.