Package org.n52.series.db.beans
Class RelatedDataEntity
java.lang.Object
org.n52.series.db.beans.AbstractRelationEntity<DataEntity<?>>
org.n52.series.db.beans.RelatedDataEntity
@Entity(name="org.n52.series.db.beans.RelatedDataEntity")
public class RelatedDataEntity
extends AbstractRelationEntity<DataEntity<?>>
-
Field Summary
FieldsFields inherited from class org.n52.series.db.beans.AbstractRelationEntity
PROPERTY_ITEM, PROPERTY_RELATED_ITEM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDataEntity<?>getItem()DataEntity<?>voidsetItem(DataEntity<?> item) voidsetRelatedItem(DataEntity<?> relatedItem) Methods inherited from class org.n52.series.db.beans.AbstractRelationEntity
getRelatedUrl, getRole, isSetRelatedUrl, isSetRole, setRelatedUrl, setRole
-
Field Details
-
PROPERTY_OBSERVATION
- See Also:
-
PROPERTY_RELATED_OBSERVATION
- See Also:
-
-
Constructor Details
-
RelatedDataEntity
public RelatedDataEntity()
-
-
Method Details
-
getItem
- Specified by:
getItemin classAbstractRelationEntity<DataEntity<?>>- Returns:
- the item
-
setItem
- Specified by:
setItemin classAbstractRelationEntity<DataEntity<?>>- Parameters:
item- the item to set
-
getRelatedItem
- Specified by:
getRelatedItemin classAbstractRelationEntity<DataEntity<?>>- Returns:
- the relatedItem
-
setRelatedItem
- Specified by:
setRelatedItemin classAbstractRelationEntity<DataEntity<?>>- Parameters:
relatedItem- the relatedItem to set
-