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