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:
Luca Frosini 2016-07-04 10:30:16 +00:00
parent b66445854a
commit 805886bef0
5 changed files with 19 additions and 4 deletions

View File

@ -1,17 +1,18 @@
package org.gcube.informationsystem.model.embedded; package org.gcube.informationsystem.model.embedded;
import org.gcube.informationsystem.model.annotations.ISProperty;
/** /**
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
*/ */
public interface AccessPolicy extends Embedded { public interface AccessPolicy extends Embedded {
@ISProperty
public ValueSchema getPolicy(); public ValueSchema getPolicy();
public void setPolicy(ValueSchema policy); public void setPolicy(ValueSchema policy);
@ISProperty
public String getNote(); public String getNote();
public void setNote(String note); public void setNote(String note);

View File

@ -3,20 +3,24 @@
*/ */
package org.gcube.informationsystem.model.embedded; package org.gcube.informationsystem.model.embedded;
import org.gcube.informationsystem.model.annotations.ISProperty;
/** /**
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
* https://redmine.d4science.org/projects/bluebridge/wiki/Facets#Facet-Header * https://redmine.d4science.org/projects/bluebridge/wiki/Facets#Facet-Header
*/ */
public interface Header extends Embedded { public interface Header extends Embedded {
@ISProperty
public String getID(); public String getID();
@ISProperty
public String getCreator(); public String getCreator();
@ISProperty
public Long getCreationTime(); public Long getCreationTime();
@ISProperty
public Long getLastUpdateTime(); public Long getLastUpdateTime();

View File

@ -1,5 +1,7 @@
package org.gcube.informationsystem.model.embedded; package org.gcube.informationsystem.model.embedded;
import org.gcube.informationsystem.model.annotations.ISProperty;
/** /**
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
*/ */
@ -33,10 +35,12 @@ public interface RelationProperty extends Embedded {
} }
@ISProperty
public ReferentiaIntegrity getReferentialIntegrity(); public ReferentiaIntegrity getReferentialIntegrity();
public void setReferentialIntegrity(ReferentiaIntegrity referentialIntegrity); public void setReferentialIntegrity(ReferentiaIntegrity referentialIntegrity);
@ISProperty
public AccessPolicy getPolicy(); public AccessPolicy getPolicy();
public void setPolicy(AccessPolicy accessPolicy); public void setPolicy(AccessPolicy accessPolicy);

View File

@ -5,6 +5,8 @@ package org.gcube.informationsystem.model.embedded;
import java.net.URI; import java.net.URI;
import org.gcube.informationsystem.model.annotations.ISProperty;
/** /**
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
* Base Interface for all type described by a value and a schema retrieved * 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 { public interface ValueSchema extends Embedded {
@ISProperty
public String getValue(); public String getValue();
public void setValue(String value); public void setValue(String value);
@ISProperty
public URI getSchema(); public URI getSchema();
public void setSchema(URI schema); public void setSchema(URI schema);

View File

@ -4,6 +4,7 @@
package org.gcube.informationsystem.model.entity; package org.gcube.informationsystem.model.entity;
import org.gcube.informationsystem.model.annotations.Abstract; import org.gcube.informationsystem.model.annotations.Abstract;
import org.gcube.informationsystem.model.annotations.ISProperty;
import org.gcube.informationsystem.model.embedded.Header; import org.gcube.informationsystem.model.embedded.Header;
@ -13,6 +14,7 @@ import org.gcube.informationsystem.model.embedded.Header;
@Abstract @Abstract
public interface Entity { public interface Entity {
@ISProperty
public Header getHeader(); public Header getHeader();
} }