Class DTOAssetUpdatedSpout

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.assets.spout.asset.DTOAssetUpdatedSpout
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

@EntityRef(AssetEntity.class) public class DTOAssetUpdatedSpout extends DynO
Object that represent the spout payload for BOAsset update actions.
Since:
21.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOAssetUpdatedSpout

      public DTOAssetUpdatedSpout()
  • Method Details

    • getId

      public final Long getId()
      Returns the asset id.
      Returns:
      the asset id
    • setId

      public final void setId(Long id)
      Sets the asset id.
      Parameters:
      id - the asset id
    • getCode

      public final Optional<String> getCode()
      Returns the asset code.
      Returns:
      the asset code
    • setCode

      public final void setCode(Optional<String> code)
      Sets the asset code.
      Parameters:
      code - the asset code
    • getType

      public final Optional<Long> getType()
      Returns the asset type id.
      Returns:
      the asset type id
    • setType

      public final void setType(Optional<Long> type)
      Sets the asset type id.
      Parameters:
      type - the asset type id