git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130004 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8fe9075ad9
commit
2ced73e42f
|
@ -14,16 +14,16 @@ import org.gcube.informationsystem.model.entity.Context;
|
|||
*/
|
||||
public class ContextImpl extends EntityImpl implements Context {
|
||||
|
||||
protected UUID uuid;
|
||||
protected String uuid;
|
||||
protected String name;
|
||||
|
||||
@Override
|
||||
public UUID getUUID() {
|
||||
public String getUUID() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUUID(UUID uuid) {
|
||||
public void setUUID(String uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,12 @@ import org.gcube.informationsystem.model.annotations.ISProperty;
|
|||
*/
|
||||
public interface Header extends Embedded {
|
||||
|
||||
/**
|
||||
* Used to set Creator when the user is not known
|
||||
*/
|
||||
public static final String UNKNOWN_USER = "UNKNOWN_USER";
|
||||
|
||||
|
||||
public static final String UUID_PROPERTY = "uuid";
|
||||
public static final String CREATOR_PROPERTY = "creator";
|
||||
public static final String CREATION_TIME_PROPERTY = "creationTime";
|
||||
|
|
|
@ -18,9 +18,9 @@ public interface Context extends Entity {
|
|||
public static final String NAME_PROPERTY = "name";
|
||||
|
||||
@ISProperty(name=UUID_PROPERTY, readonly=true, mandatory=true, nullable=false)
|
||||
public UUID getUUID();
|
||||
public String getUUID();
|
||||
|
||||
public void setUUID(UUID uuid);
|
||||
public void setUUID(String uuid);
|
||||
|
||||
|
||||
@ISProperty(name=NAME_PROPERTY, mandatory=true, nullable=false)
|
||||
|
|
Loading…
Reference in New Issue