jetbrains.buildServer.util.positioning
Class PositioningItem<T>

java.lang.Object
  extended by jetbrains.buildServer.util.positioning.PositioningItem<T>

public class PositioningItem<T>
extends java.lang.Object

Author:
Eugene Petrenko (eugene.petrenko@gmail.com) Date: 06.09.11 15:37

Constructor Summary
PositioningItem(T item, java.lang.String id, PositionConstraint constraint)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 PositionConstraint getConstraint()
           
 T getItem()
           
 java.lang.String getOrderId()
           
 int hashCode()
           
 PositioningItem<T> updatePosition(PositionConstraint constraint)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositioningItem

public PositioningItem(@NotNull
                       T item,
                       @NotNull
                       java.lang.String id,
                       @NotNull
                       PositionConstraint constraint)
Method Detail

getItem

@NotNull
public T getItem()

getOrderId

@NotNull
public java.lang.String getOrderId()

getConstraint

@NotNull
public PositionConstraint getConstraint()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

updatePosition

@NotNull
public PositioningItem<T> updatePosition(@NotNull
                                                 PositionConstraint constraint)