Updated Resources
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@129833 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b66445854a
commit
805886bef0
|
@ -1,17 +1,18 @@
|
|||
package org.gcube.informationsystem.model.embedded;
|
||||
|
||||
|
||||
|
||||
import org.gcube.informationsystem.model.annotations.ISProperty;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||
*/
|
||||
public interface AccessPolicy extends Embedded {
|
||||
|
||||
@ISProperty
|
||||
public ValueSchema getPolicy();
|
||||
|
||||
public void setPolicy(ValueSchema policy);
|
||||
|
||||
@ISProperty
|
||||
public String getNote();
|
||||
|
||||
public void setNote(String note);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
package org.gcube.informationsystem.model.embedded;
|
||||
|
||||
|
||||
import org.gcube.informationsystem.model.annotations.ISProperty;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||
|
@ -11,12 +11,16 @@ package org.gcube.informationsystem.model.embedded;
|
|||
*/
|
||||
public interface Header extends Embedded {
|
||||
|
||||
@ISProperty
|
||||
public String getID();
|
||||
|
||||
@ISProperty
|
||||
public String getCreator();
|
||||
|
||||
@ISProperty
|
||||
public Long getCreationTime();
|
||||
|
||||
@ISProperty
|
||||
public Long getLastUpdateTime();
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.gcube.informationsystem.model.embedded;
|
||||
|
||||
import org.gcube.informationsystem.model.annotations.ISProperty;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||
*/
|
||||
|
@ -33,10 +35,12 @@ public interface RelationProperty extends Embedded {
|
|||
|
||||
}
|
||||
|
||||
@ISProperty
|
||||
public ReferentiaIntegrity getReferentialIntegrity();
|
||||
|
||||
public void setReferentialIntegrity(ReferentiaIntegrity referentialIntegrity);
|
||||
|
||||
@ISProperty
|
||||
public AccessPolicy getPolicy();
|
||||
|
||||
public void setPolicy(AccessPolicy accessPolicy);
|
||||
|
|
|
@ -5,6 +5,8 @@ package org.gcube.informationsystem.model.embedded;
|
|||
|
||||
import java.net.URI;
|
||||
|
||||
import org.gcube.informationsystem.model.annotations.ISProperty;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||
* Base Interface for all type described by a value and a schema retrieved
|
||||
|
@ -12,10 +14,12 @@ import java.net.URI;
|
|||
*/
|
||||
public interface ValueSchema extends Embedded {
|
||||
|
||||
@ISProperty
|
||||
public String getValue();
|
||||
|
||||
public void setValue(String value);
|
||||
|
||||
@ISProperty
|
||||
public URI getSchema();
|
||||
|
||||
public void setSchema(URI schema);
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
package org.gcube.informationsystem.model.entity;
|
||||
|
||||
import org.gcube.informationsystem.model.annotations.Abstract;
|
||||
import org.gcube.informationsystem.model.annotations.ISProperty;
|
||||
import org.gcube.informationsystem.model.embedded.Header;
|
||||
|
||||
|
||||
|
@ -13,6 +14,7 @@ import org.gcube.informationsystem.model.embedded.Header;
|
|||
@Abstract
|
||||
public interface Entity {
|
||||
|
||||
@ISProperty
|
||||
public Header getHeader();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue