Class POI

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, java.io.Serializable

    @Valid
    public class POI
    extends Stop
    See Also:
    Serialized Form
    • 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.Builder New 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.Builder New 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 attribute description.
        Returns:
        String Value to which description is set.
      • setDescription

        public void setDescription​(java.lang.String pDescription)
        Method sets attribute description.
        Parameters:
        pDescription - Value to which description should be set.
      • getTheLink

        @Deprecated
        public java.lang.Long getTheLink()
        Deprecated.
        Method returns association theLink.

        This class uses so called soft links for decoupling. The actual type that is hidden by theLink is LinkObject

        Returns:
        Long Value to which theLink is set.
      • setTheLink

        @Deprecated
        public void setTheLink​(java.lang.Long pTheLink)
        Deprecated.
        Method sets association theLink.
        Parameters:
        pTheLink - Value to which theLink should be set.
      • unsetTheLink

        @Deprecated
        public final void unsetTheLink()
        Deprecated.
        Method unsets theLink.
      • getEvenMoreLinks

        @Deprecated
        public java.util.Set<SoftLink> getEvenMoreLinks()
        Deprecated.
        Method returns association evenMoreLinks.

        This class uses so called soft links for decoupling. The actual type that is hidden by evenMoreLinks is LinkObject

        Returns:
        Set Value to which evenMoreLinks is 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 to evenMoreLinks.
        Parameters:
        pEvenMoreLinks - Object that should be added to evenMoreLinks. The parameter must not be null.
      • addToEvenMoreLinks

        @Deprecated
        public void addToEvenMoreLinks​(java.util.Collection<SoftLink> pEvenMoreLinks)
        Deprecated.
        Method adds all passed objects to evenMoreLinks.
        Parameters:
        pEvenMoreLinks - Collection with all objects that should be added to evenMoreLinks. The parameter must not be null.
      • removeFromEvenMoreLinks

        @Deprecated
        public void removeFromEvenMoreLinks​(SoftLink pEvenMoreLinks)
        Deprecated.
        Method removes the passed object from evenMoreLinks.
        Parameters:
        pEvenMoreLinks - Object that should be removed from evenMoreLinks. The parameter must not be null.
      • clearEvenMoreLinks

        @Deprecated
        public void clearEvenMoreLinks()
        Deprecated.
        Method removes all objects from evenMoreLinks.
      • 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:
        toStringBuilder in class Stop
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class Stop
        Returns:
        String String representation of this object. The method never returns null.