Class TransportUnitVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<TransportUnitVO>
org.ameba.http.AbstractBase<TransportUnitVO>
org.openwms.common.transport.api.TransportUnitVO
All Implemented Interfaces:
Serializable

public class TransportUnitVO extends org.ameba.http.AbstractBase<TransportUnitVO> implements Serializable
A TransportUnitVO.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • MEDIA_TYPE

      public static final String MEDIA_TYPE
      HTTP media type representation.
      See Also:
    • pKey

      @NotBlank(groups=Update.class) private @NotBlank(groups=Update.class) String pKey
      The persistent key.
    • barcode

      @NotBlank(message="{owms.common.common.tu.barcode}", groups={Create.class,Update.class}) private @NotBlank(message="{owms.common.common.tu.barcode}",groups={Create.class,Update.class}) String barcode
      Unique natural key.
    • groupId

      private String groupId
      A TransportUnit may belong to a group of TransportUnits.
    • actualLocation

      @NotNull(message="{owms.common.common.tu.actualLocation}", groups={Create.class,Update.class}) private @NotNull(message="{owms.common.common.tu.actualLocation}",groups={Create.class,Update.class}) LocationVO actualLocation
      The current Location of the TransportUnit.
    • targetLocation

      private LocationVO targetLocation
      The target Location of the TransportUnit.
    • state

      @NotBlank(message="{owms.common.common.tu.state}", groups=Update.class) private @NotBlank(message="{owms.common.common.tu.state}",groups=Update.class) String state
      The state of the TransportUnit.
    • transportUnitType

      @NotNull(message="{owms.common.common.tu.transportUnitType}", groups={Create.class,WithTuT.class}) private @NotNull(message="{owms.common.common.tu.transportUnitType}",groups={Create.class,WithTuT.class}) TransportUnitTypeVO transportUnitType
      The TransportUnitType of the TransportUnit.
    • weight

      private org.openwms.core.units.api.Weight weight
      Weight of the TransportUnit.
    • actualLocationDate

      private LocalDateTime actualLocationDate
      Date when the TransportUnit has been moved to the current Location.
  • Constructor Details

  • Method Details

    • newBuilder

      public static TransportUnitVO.Builder newBuilder()
    • builder

      public static TransportUnitVO.Builder builder()
    • getpKey

      public String getpKey()
    • setpKey

      public void setpKey(String pKey)
    • getBarcode

      public String getBarcode()
    • setBarcode

      public void setBarcode(String barcode)
    • getGroupId

      public String getGroupId()
    • setGroupId

      public void setGroupId(String groupId)
    • getActualLocation

      public LocationVO getActualLocation()
    • setActualLocation

      public void setActualLocation(LocationVO actualLocation)
    • getTargetLocation

      public LocationVO getTargetLocation()
    • setTargetLocation

      public void setTargetLocation(LocationVO targetLocation)
    • getState

      public String getState()
    • setState

      public void setState(String state)
    • getTransportUnitType

      public TransportUnitTypeVO getTransportUnitType()
    • setTransportUnitType

      public void setTransportUnitType(TransportUnitTypeVO transportUnitType)
    • getWeight

      public org.openwms.core.units.api.Weight getWeight()
    • setWeight

      public void setWeight(org.openwms.core.units.api.Weight weight)
    • getActualLocationDate

      public LocalDateTime getActualLocationDate()
    • setActualLocationDate

      public void setActualLocationDate(LocalDateTime actualLocationDate)
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.ameba.http.AbstractBase<TransportUnitVO>
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.ameba.http.AbstractBase<TransportUnitVO>