Class POI
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.Stop
-
- com.anaptecs.jeaf.junit.openapi.base.POI
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class POI extends Stop
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPOI.BuilderClass implements builder to create a new instance of classPOI.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPOI()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedPOI(POI.Builder pBuilder)Initialize object using the passed builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddToEvenMoreLinks(SoftLink pEvenMoreLinks)Deprecated.voidaddToEvenMoreLinks(java.util.Collection<SoftLink> pEvenMoreLinks)Deprecated.static POI.Builderbuilder()Method returns a new builder.static POI.Builderbuilder(POI pObject)Method creates a new builder and initialize it with the data from the passed object.static POI.Builderbuilder(java.lang.String pName, byte pIndex, SoftLink pTheSoftLink, java.lang.String pDescription, java.lang.Long pTheLink)Method creates a new builder and initializes it with the passed attributes.voidclearEvenMoreLinks()Deprecated.java.lang.StringgetDescription()Method returns attributedescription.java.util.Set<SoftLink>getEvenMoreLinks()Deprecated.java.lang.LonggetTheLink()Deprecated.voidremoveFromEvenMoreLinks(SoftLink pEvenMoreLinks)Deprecated.voidsetDescription(java.lang.String pDescription)Method sets attributedescription.voidsetTheLink(java.lang.Long pTheLink)Deprecated.java.lang.StringtoString()Method creates a new String with the values of all attributes of this class.java.lang.StringBuildertoStringBuilder(java.lang.String pIndent)Method returns a StringBuilder that can be used to create a String representation of this object.voidunsetTheLink()Deprecated.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.Stop
addToLinks, addToLinks, builder, builder, clearLinks, getIndex, getLinks, getName, getTheSoftLink, removeFromLinks, setIndex, setName, setTheSoftLink, unsetTheSoftLink
-
-
-
-
Constructor Detail
-
POI
protected POI()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
-
POI
protected POI(POI.Builder pBuilder)
Initialize object using the passed builder.- Parameters:
pBuilder- Builder that should be used to initialize this object. The parameter must not be null.
-
-
Method Detail
-
builder
public static POI.Builder builder()
Method returns a new builder.- Returns:
POI.BuilderNew builder that can be used to create new POI objects.
-
builder
public static POI.Builder builder(POI pObject)
Method creates a new builder and initialize it with the data from the passed object.- Parameters:
pObject- Object that should be used to initialize the builder. The parameter may be null.- Returns:
POI.BuilderNew builder that can be used to create new POI objects. The method never returns null.
-
builder
public static POI.Builder builder(java.lang.String pName, byte pIndex, SoftLink pTheSoftLink, java.lang.String pDescription, java.lang.Long pTheLink)
Method creates a new builder and initializes it with the passed attributes.
-
getDescription
public java.lang.String getDescription()
Method returns attributedescription.- Returns:
StringValue to whichdescriptionis set.
-
setDescription
public void setDescription(java.lang.String pDescription)
Method sets attributedescription.- Parameters:
pDescription- Value to whichdescriptionshould be set.
-
getTheLink
@Deprecated public java.lang.Long getTheLink()
Deprecated.Method returns associationtheLink.
This class uses so called soft links for decoupling. The actual type that is hidden bytheLinkisLinkObject- Returns:
LongValue to whichtheLinkis set.
-
setTheLink
@Deprecated public void setTheLink(java.lang.Long pTheLink)
Deprecated.Method sets associationtheLink.- Parameters:
pTheLink- Value to whichtheLinkshould be set.
-
unsetTheLink
@Deprecated public final void unsetTheLink()
Deprecated.Method unsetstheLink.
-
getEvenMoreLinks
@Deprecated public java.util.Set<SoftLink> getEvenMoreLinks()
Deprecated.Method returns associationevenMoreLinks.
This class uses so called soft links for decoupling. The actual type that is hidden byevenMoreLinksisLinkObject- Returns:
SetValue to whichevenMoreLinksis set. The method never returns null and the returned collection is modifiable.
-
addToEvenMoreLinks
@Deprecated public void addToEvenMoreLinks(SoftLink pEvenMoreLinks)
Deprecated.Method adds the passed object toevenMoreLinks.- Parameters:
pEvenMoreLinks- Object that should be added toevenMoreLinks. The parameter must not be null.
-
addToEvenMoreLinks
@Deprecated public void addToEvenMoreLinks(java.util.Collection<SoftLink> pEvenMoreLinks)
Deprecated.Method adds all passed objects toevenMoreLinks.- Parameters:
pEvenMoreLinks- Collection with all objects that should be added toevenMoreLinks. The parameter must not be null.
-
removeFromEvenMoreLinks
@Deprecated public void removeFromEvenMoreLinks(SoftLink pEvenMoreLinks)
Deprecated.Method removes the passed object fromevenMoreLinks.- Parameters:
pEvenMoreLinks- Object that should be removed fromevenMoreLinks. The parameter must not be null.
-
clearEvenMoreLinks
@Deprecated public void clearEvenMoreLinks()
Deprecated.Method removes all objects fromevenMoreLinks.
-
toStringBuilder
public java.lang.StringBuilder toStringBuilder(java.lang.String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.- Overrides:
toStringBuilderin classStop- Returns:
StringBuilderStringBuilder representing this object. The method never returns null.
-
-