-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBusinessObject.java
43 lines (30 loc) · 1018 Bytes
/
BusinessObject.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
*
*/
package io.apiloop.workers.base;
import com.fasterxml.jackson.databind.node.ObjectNode;
import java.time.LocalDateTime;
import java.util.UUID;
/**
* Object representing a business related object
*/
public interface BusinessObject {
UUID getUuid();
BusinessObject setUuid(UUID uuid);
UUID getMetaEntityId();
BusinessObject setMetaEntityId(UUID metaEntityId);
UUID getRootOwnerId();
BusinessObject setRootOwnerId(UUID rootOwnerId);
UUID getOwnerId();
BusinessObject setOwnerId(UUID ownerId);
ObjectNode getData();
BusinessObject setData(ObjectNode data);
Boolean getEnabled();
BusinessObject setEnabled(Boolean enabled);
BusinessObjectPricing getPricing();
BusinessObject setPricing(BusinessObjectPricing pricing);
LocalDateTime getCreatedAt();
BusinessObject setCreatedAt(LocalDateTime createdAt);
LocalDateTime getUpdatedAt();
BusinessObject setUpdatedAt(LocalDateTime updatedAt);
}