public final class SimpleDomainEdge extends AbstractDomainEdge
GenericEdge
.
This is the most basic concrete subclass of AbstractDomainEdge
and can be used as a reference for your own
domain edge. It is a final class. If you need more functionality please extend AbstractDomainEdge
.
Since it's delegate is immutable and this class holds no data of it's own it is immutable as well.Modifier and Type | Class and Description |
---|---|
static class |
SimpleDomainEdge.SimpleDomainEdgeBuilder |
AbstractDomainEdge.AbstractDomainEdgeBuilder<T extends AbstractDomainElementBuilder<?>>
delegate
Constructor and Description |
---|
SimpleDomainEdge(GenericEdge genericEdge) |
Modifier and Type | Method and Description |
---|---|
static SimpleDomainEdge.SimpleDomainEdgeBuilder |
builder() |
boolean |
equals(Object o) |
static SimpleDomainEdge |
from(GenericEdge genericEdge) |
int |
hashCode() |
asGenericEdge, getId, getLabel, getNamespace, getSource, getTarget
public SimpleDomainEdge(GenericEdge genericEdge)
public boolean equals(Object o)
equals
in class AbstractDomainEdge
public int hashCode()
hashCode
in class AbstractDomainEdge
public static SimpleDomainEdge.SimpleDomainEdgeBuilder builder()
public static SimpleDomainEdge from(GenericEdge genericEdge)
Copyright © 2021. All rights reserved.