public abstract class AbstractRelationEntity<T> extends IdEntity
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_ITEM |
static java.lang.String |
PROPERTY_RELATED_ITEM |
PROPERTY_ID| Constructor and Description |
|---|
AbstractRelationEntity() |
| Modifier and Type | Method and Description |
|---|---|
T |
getItem() |
T |
getRelatedItem() |
java.lang.String |
getRelatedUrl() |
java.lang.String |
getRole() |
boolean |
isSetRelatedUrl() |
boolean |
isSetRole() |
void |
setItem(T item) |
void |
setRelatedItem(T relatedItem) |
void |
setRelatedUrl(java.lang.String relatedUrl) |
void |
setRole(java.lang.String role) |
public static final java.lang.String PROPERTY_ITEM
public static final java.lang.String PROPERTY_RELATED_ITEM
public T getItem()
public void setItem(T item)
item - the item to setpublic T getRelatedItem()
public void setRelatedItem(T relatedItem)
relatedItem - the relatedItem to setpublic java.lang.String getRole()
public void setRole(java.lang.String role)
role - the role to setpublic boolean isSetRole()
public java.lang.String getRelatedUrl()
public void setRelatedUrl(java.lang.String relatedUrl)
relatedUrl - the relatedUrl to setpublic boolean isSetRelatedUrl()
Copyright © 2015–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.