Class ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
java.lang.Object
org.springframework.modulith.core.ArchitecturallyEvidentType
org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- Enclosing class:
- ArchitecturallyEvidentType
static class ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
extends ArchitecturallyEvidentType
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.modulith.core.ArchitecturallyEvidentType
ArchitecturallyEvidentType.DelegatingType, ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType, ArchitecturallyEvidentType.ReferenceMethod, ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType, ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType -
Constructor Summary
ConstructorsConstructorDescriptionSpringDataAwareArchitecturallyEvidentType(com.tngtech.archunit.core.domain.JavaClass type, Classes beanTypes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the type is considered an aggregate root in the DDD sense.booleanbooleanisEntity()Returns whether the type is an entity in the DDD sense.booleanReturns whether the type is considered a repository in the DDD sense.Methods inherited from class org.springframework.modulith.core.ArchitecturallyEvidentType
getAbbreviatedFullName, getReferenceMethods, getReferenceTypes, getType, isConfigurationProperties, isEventListener, isInjectable, isService, isValueObject, of, toString
-
Constructor Details
-
SpringDataAwareArchitecturallyEvidentType
SpringDataAwareArchitecturallyEvidentType(com.tngtech.archunit.core.domain.JavaClass type, Classes beanTypes)
-
-
Method Details
-
isEntity
public boolean isEntity()Description copied from class:ArchitecturallyEvidentTypeReturns whether the type is an entity in the DDD sense.- Overrides:
isEntityin classArchitecturallyEvidentType- Returns:
-
isAggregateRoot
public boolean isAggregateRoot()Description copied from class:ArchitecturallyEvidentTypeReturns whether the type is considered an aggregate root in the DDD sense.- Specified by:
isAggregateRootin classArchitecturallyEvidentType- Returns:
-
isRepository
public boolean isRepository()Description copied from class:ArchitecturallyEvidentTypeReturns whether the type is considered a repository in the DDD sense.- Specified by:
isRepositoryin classArchitecturallyEvidentType- Returns:
-
isController
public boolean isController()- Overrides:
isControllerin classArchitecturallyEvidentType
-