public final class Relationship extends AbstractElement<Void,Relationship.Update>
| Modifier and Type | Class and Description |
|---|---|
static class |
Relationship.Update |
AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>>id, ID_PROPERTY, properties| Constructor and Description |
|---|
Relationship(String id,
String name,
Entity source,
Entity target) |
Relationship(String id,
String name,
Entity source,
Entity target,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Entity |
getSource() |
Entity |
getTarget() |
String |
toString() |
AbstractElement.Updater<Relationship.Update,Relationship> |
update() |
equals, getId, getProperties, hashCode, valueOrDefaultpublic AbstractElement.Updater<Relationship.Update,Relationship> update()
update in class AbstractElement<Void,Relationship.Update>public String getName()
public Entity getSource()
public Entity getTarget()
Copyright © 2015 Red Hat, Inc.. All rights reserved.