@Valid public class POI extends Stop
| Modifier and Type | Class and Description |
|---|---|
static class |
POI.Builder
Class implements builder to create a new instance of class
POI. |
| Modifier | Constructor and Description |
|---|---|
protected |
POI()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
POI(POI.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToEvenMoreLinks(Collection<SoftLink> pEvenMoreLinks)
Deprecated.
|
void |
addToEvenMoreLinks(SoftLink pEvenMoreLinks)
Deprecated.
|
static POI.Builder |
builder()
Method returns a new builder.
|
static POI.Builder |
builder(POI pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static POI.Builder |
builder(String pName,
byte pIndex,
SoftLink pTheSoftLink,
String pDescription,
Long pTheLink)
Method creates a new builder and initializes it with the passed attributes.
|
void |
clearEvenMoreLinks()
Deprecated.
|
String |
getDescription()
Method returns attribute
description. |
Set<SoftLink> |
getEvenMoreLinks()
Deprecated.
|
Long |
getTheLink()
Deprecated.
|
void |
removeFromEvenMoreLinks(SoftLink pEvenMoreLinks)
Deprecated.
|
void |
setDescription(String pDescription)
Method sets attribute
description. |
void |
setTheLink(Long pTheLink)
Deprecated.
|
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.
|
void |
unsetTheLink()
Deprecated.
|
addToLinks, addToLinks, builder, builder, clearLinks, getIndex, getLinks, getName, getTheSoftLink, removeFromLinks, setIndex, setName, setTheSoftLink, unsetTheSoftLinkprotected POI()
protected POI(POI.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static POI.Builder builder()
POI.Builder New builder that can be used to create new POI objects.public static POI.Builder builder(POI pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.POI.Builder New builder that can be used to create new POI objects. The method never returns null.public static POI.Builder builder(String pName, byte pIndex, SoftLink pTheSoftLink, String pDescription, Long pTheLink)
public String getDescription()
description.String Value to which description is set.public void setDescription(String pDescription)
description.pDescription - Value to which description should be set.@Deprecated public Long getTheLink()
@Deprecated public void setTheLink(Long pTheLink)
theLink.pTheLink - Value to which theLink should be set.@Deprecated public final void unsetTheLink()
theLink.@Deprecated public Set<SoftLink> getEvenMoreLinks()
evenMoreLinks.evenMoreLinks is
LinkObjectSet Value to which evenMoreLinks is set. The method never returns null and the
returned collection is modifiable.@Deprecated public void addToEvenMoreLinks(SoftLink pEvenMoreLinks)
evenMoreLinks.pEvenMoreLinks - Object that should be added to evenMoreLinks. The parameter must not be null.@Deprecated public void addToEvenMoreLinks(Collection<SoftLink> pEvenMoreLinks)
evenMoreLinks.pEvenMoreLinks - Collection with all objects that should be added to evenMoreLinks. The parameter
must not be null.@Deprecated public void removeFromEvenMoreLinks(SoftLink pEvenMoreLinks)
evenMoreLinks.pEvenMoreLinks - Object that should be removed from evenMoreLinks. The parameter must not be null.@Deprecated public void clearEvenMoreLinks()
evenMoreLinks.public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class StopStringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.