Class MessagePath

java.lang.Object
java.util.AbstractCollection<Message>
java.util.AbstractList<Message>
java.util.ArrayList<Message>
org.silverpeas.core.util.ContributionPath<Message>
org.silverpeas.components.forums.model.MessagePath
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Message>, Collection<Message>, List<Message>, RandomAccess, SequencedCollection<Message>, org.silverpeas.core.util.ResourcePath<Message>

public class MessagePath extends org.silverpeas.core.util.ContributionPath<Message>
List of Message which represents a path.
Author:
silveryocha
See Also:
  • Constructor Details

  • Method Details

    • isRoot

      protected boolean isRoot(Message message)
      Specified by:
      isRoot in class org.silverpeas.core.util.ContributionPath<Message>
    • getLabel

      protected String getLabel(Message message, String language)
      Specified by:
      getLabel in class org.silverpeas.core.util.ContributionPath<Message>
    • format

      public String format(String language, boolean fullSpacePath)
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface Collection<Message>
      Specified by:
      equals in interface List<Message>
      Overrides:
      equals in class org.silverpeas.core.util.ContributionPath<Message>
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Collection<Message>
      Specified by:
      hashCode in interface List<Message>
      Overrides:
      hashCode in class org.silverpeas.core.util.ContributionPath<Message>