public class RYRelationship extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
description
The human-readable label of the relationship
|
private String |
key
The name of the relationship, lowercase, preferably no space, etc.
|
private String |
oppositeKey
The opposite name, when the relationship is viewed from the other side
|
Constructor and Description |
---|
RYRelationship(String key,
String description,
String oppositeKey) |
Modifier and Type | Method and Description |
---|---|
static RYRelationship |
find(List<RYRelationship> relationships,
String key) |
String |
getDescription() |
String |
getKey() |
String |
getOppositeKey() |
void |
setDescription(String description) |
void |
setKey(String key) |
void |
setOppositeKey(String oppositeKey) |
String |
toString() |
private String key
private String description
private String oppositeKey
public String getKey()
public void setKey(String key)
public String getOppositeKey()
public void setOppositeKey(String oppositeKey)
public String getDescription()
public void setDescription(String description)
public static RYRelationship find(List<RYRelationship> relationships, String key)
Copyright © 2021 Play SQL. All rights reserved.