Class ClassRelation
- java.lang.Object
-
- org.dddjava.jig.domain.model.parts.classes.type.ClassRelation
-
public class ClassRelation extends java.lang.Object型の依存関係
-
-
Constructor Summary
Constructors Constructor Description ClassRelation(TypeIdentifier from, TypeIdentifier to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdotText()booleanequals(java.lang.Object o)java.lang.StringformatText()TypeIdentifierfrom()inthashCode()booleanor(TypeIdentifiers typeIdentifiers)booleansameRelation(ClassRelation other)booleanselfRelation()TypeIdentifierto()booleantoIs(TypeIdentifier typeIdentifier)PackageRelationtoPackageRelation()java.lang.StringtoString()booleanunrelated(TypeIdentifier typeIdentifier)booleanwithin(TypeIdentifiers typeIdentifiers)
-
-
-
Constructor Detail
-
ClassRelation
public ClassRelation(TypeIdentifier from, TypeIdentifier to)
-
-
Method Detail
-
toPackageRelation
public PackageRelation toPackageRelation()
-
toIs
public boolean toIs(TypeIdentifier typeIdentifier)
-
from
public TypeIdentifier from()
-
to
public TypeIdentifier to()
-
selfRelation
public boolean selfRelation()
-
sameRelation
public boolean sameRelation(ClassRelation other)
-
within
public boolean within(TypeIdentifiers typeIdentifiers)
-
or
public boolean or(TypeIdentifiers typeIdentifiers)
-
dotText
public java.lang.String dotText()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
unrelated
public boolean unrelated(TypeIdentifier typeIdentifier)
-
formatText
public java.lang.String formatText()
-
-