Class LinkedEntityImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
-
- org.gcube.informationsystem.types.impl.properties.LinkedEntityImpl
-
- All Implemented Interfaces:
Serializable,Comparable<LinkedEntity>,Element,PropertyElement,SchemaMixedElement,ModelElement,Property,LinkedEntity
public final class LinkedEntityImpl extends PropertyElementImpl implements LinkedEntity
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected Integermaxprotected Integerminprotected Stringrelationprotected Stringsourceprotected Stringtarget-
Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypes
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.types.reference.properties.LinkedEntity
DESCRIPTION_PROPERTY, MAX_PROPERTY, MIN_PROPERTY, NAME, RELATION_PROPERTY, SOURCE_PROPERTY, TARGET_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description LinkedEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompareIntegers(Integer thisInt, Integer otherInt)intcompareTo(LinkedEntity other)booleanequals(Object obj)StringgetDescription()IntegergetMax()IntegergetMin()StringgetRelation()StringgetSource()StringgetTarget()inthashCode()voidsetDescription(String description)voidsetMax(Integer max)voidsetMin(Integer min)voidsetRelation(String relation)voidsetSource(String source)voidsetTarget(String target)-
Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
-
-
-
Method Detail
-
getSource
public String getSource()
- Specified by:
getSourcein interfaceLinkedEntity
-
setSource
public void setSource(String source)
- Specified by:
setSourcein interfaceLinkedEntity
-
getRelation
public String getRelation()
- Specified by:
getRelationin interfaceLinkedEntity
-
setRelation
public void setRelation(String relation)
- Specified by:
setRelationin interfaceLinkedEntity
-
getTarget
public String getTarget()
- Specified by:
getTargetin interfaceLinkedEntity
-
setTarget
public void setTarget(String target)
- Specified by:
setTargetin interfaceLinkedEntity
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceLinkedEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceLinkedEntity
-
getMin
public Integer getMin()
- Specified by:
getMinin interfaceLinkedEntity
-
setMin
public void setMin(Integer min)
- Specified by:
setMinin interfaceLinkedEntity
-
getMax
public Integer getMax()
- Specified by:
getMaxin interfaceLinkedEntity
-
setMax
public void setMax(Integer max)
- Specified by:
setMaxin interfaceLinkedEntity
-
compareTo
public int compareTo(LinkedEntity other)
- Specified by:
compareToin interfaceComparable<LinkedEntity>
-
-