information-system-model/src/main/java/org/gcube/informationsystem/base/reference/IdentifiableElement.java

25 lines
607 B
Java
Raw Normal View History

2020-02-03 10:51:29 +01:00
package org.gcube.informationsystem.base.reference;
2023-04-18 17:51:23 +02:00
import java.util.UUID;
import org.gcube.informationsystem.model.reference.properties.Metadata;
2020-02-03 10:51:29 +01:00
/**
2023-04-18 17:51:23 +02:00
* This interfaces is an helper to identify elements could be identified via {@link Metadata}
2021-01-20 17:26:13 +01:00
*
* @author Luca Frosini (ISTI - CNR)
2020-02-03 10:51:29 +01:00
*/
public interface IdentifiableElement extends Element {
2023-04-18 17:51:23 +02:00
public static final String UUID_PROPERTY = "@uuid";
public static final String METADATA_PROPERTY = "@metadata";
public UUID getUUID();
2020-02-03 10:51:29 +01:00
2023-04-18 17:51:23 +02:00
public void setUUID(UUID uuid);
public Metadata getMetadata();
2020-02-03 10:51:29 +01:00
2023-04-18 17:51:23 +02:00
public void setMetadata(Metadata metadata);
2020-02-03 10:51:29 +01:00
}