public class Domain extends Object implements Comparable<Domain>
DomainModel.| Modifier and Type | Field and Description |
|---|---|
String |
name
The domain name.
|
Set<Table> |
tables
Set of tables in this domain.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Domain o) |
boolean |
equals(Object other)
Compares domains.
|
Set<Domain> |
getSubDomains()
Gets sub-domains.
|
Set<Domain> |
getSuperDomains()
Gets super-domains.
|
int |
hashCode()
The hash-code.
|
boolean |
isSubDomainOf(Domain domain)
Checks wether this is a sub domain of a given domain.
|
String |
toString()
Stringifies the domain.
|
public final String name
public Set<Domain> getSuperDomains()
public boolean isSubDomainOf(Domain domain)
domain - the domaintrue iff this is a sub domain of domainpublic int compareTo(Domain o)
compareTo in interface Comparable<Domain>