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) UUIDgetKey()@Null(groups=PrePersist.class) Date@Size(min=3) String@NotNull @Size(min=2) StringgetTitle()voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidsetDeleted(Date deleted) voidsetDescription(String description) voidvoidsetModified(Date modified) voidsetModifiedBy(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
-