All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.worcade.client.get.WorkOrder Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// Copyright (c) 2017, Worcade. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package net.worcade.client.get;

import net.worcade.client.modify.WorkOrderModification;
import net.worcade.client.modify.WorkOrderRowModification;

import java.time.Duration;
import java.util.Collection;
import java.util.Currency;

public interface WorkOrder extends Entity, ReferenceWithName {
    WorkOrderModification modify();

    @Override
    String getName();
    Collection getRows();
    boolean isApproved();
    boolean isRejected();

    interface Row {
        WorkOrderRowModification modify();

        String getId();
        String getDescription();
        Duration getDuration();
        Double getCostAmount();
        Currency getCostCurrency();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy