Package org.gbif.api.model.registry
Interface NetworkEntity
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Dataset
,Installation
,Network
,Node
,Organization
This interface provides a minimal contract that all network entities (The readable version) will adhere to. It is
used only to simplify consistent testing of operations on network entities, hence the restriction to package
visibility only.
-
Method Summary
Modifier and TypeMethodDescription@Null(groups=PrePersist.class) Date
@Size(min=3) String
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUID
getKey()
@Null(groups=PrePersist.class) Date
@Size(min=3) String
@NotNull @Size(min=2) String
getTitle()
void
setCreated
(Date created) void
setCreatedBy
(String createdBy) void
setDeleted
(Date deleted) void
setDescription
(String description) void
void
setModified
(Date modified) void
setModifiedBy
(String createdBy) void
-
Method Details
-
getKey
@Nullable @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUID getKey() -
setKey
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getCreated
-
setCreated
-
getModified
-
setModified
-
getDeleted
-
setDeleted
-
getCreatedBy
-
setCreatedBy
-
getModifiedBy
-
setModifiedBy
-