Interface LinkedEntity
-
- All Superinterfaces:
Comparable<LinkedEntity>,Element,PropertyElement,Serializable
- All Known Implementing Classes:
LinkedEntityImpl
@TypeMetadata(name="LinkedEntity", description=" A convenient type to define a Resource in terms of: mandatory/recommended ConsistsOf->Facets; suggested IsRelatedTo->Resource.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface LinkedEntity extends PropertyElement, Comparable<LinkedEntity>
A convenient type to define a Resource in terms of: - mandatory/recommended ConsistsOf->Facets; - suggested IsRelatedTo->Resource.- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringDESCRIPTION_PROPERTYstatic StringMAX_PROPERTYstatic StringMIN_PROPERTYstatic StringNAMEstatic StringRELATION_PROPERTYstatic StringSOURCE_PROPERTYstatic StringTARGET_PROPERTY-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()IntegergetMax()IntegergetMin()StringgetRelation()StringgetSource()StringgetTarget()voidsetDescription(String description)voidsetMax(Integer max)voidsetMin(Integer min)voidsetRelation(String relation)voidsetSource(String source)voidsetTarget(String target)-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
SOURCE_PROPERTY
static final String SOURCE_PROPERTY
- See Also:
- Constant Field Values
-
RELATION_PROPERTY
static final String RELATION_PROPERTY
- See Also:
- Constant Field Values
-
TARGET_PROPERTY
static final String TARGET_PROPERTY
- See Also:
- Constant Field Values
-
DESCRIPTION_PROPERTY
static final String DESCRIPTION_PROPERTY
- See Also:
- Constant Field Values
-
MIN_PROPERTY
static final String MIN_PROPERTY
- See Also:
- Constant Field Values
-
MAX_PROPERTY
static final String MAX_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSource
@ISProperty(name="source", readonly=true, mandatory=true, nullable=false) String getSource()
-
setSource
void setSource(String source)
-
getRelation
@ISProperty(name="relation", readonly=true, mandatory=true, nullable=false) String getRelation()
-
setRelation
void setRelation(String relation)
-
getTarget
@ISProperty(name="target", readonly=true, mandatory=true, nullable=false) String getTarget()
-
setTarget
void setTarget(String target)
-
getDescription
@ISProperty(name="description", readonly=true, mandatory=true, nullable=false) String getDescription()
-
setDescription
void setDescription(String description)
-
setMin
void setMin(Integer min)
-
setMax
void setMax(Integer max)
-
-