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
ConstructorDescriptionSpringDataAwareArchitecturallyEvidentType
(com.tngtech.archunit.core.domain.JavaClass type, Classes beanTypes) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the type is considered an aggregate root in the DDD sense.boolean
boolean
isEntity()
Returns whether the type is an entity in the DDD sense.boolean
Returns 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:ArchitecturallyEvidentType
Returns whether the type is an entity in the DDD sense.- Overrides:
isEntity
in classArchitecturallyEvidentType
- Returns:
-
isAggregateRoot
public boolean isAggregateRoot()Description copied from class:ArchitecturallyEvidentType
Returns whether the type is considered an aggregate root in the DDD sense.- Specified by:
isAggregateRoot
in classArchitecturallyEvidentType
- Returns:
-
isRepository
public boolean isRepository()Description copied from class:ArchitecturallyEvidentType
Returns whether the type is considered a repository in the DDD sense.- Specified by:
isRepository
in classArchitecturallyEvidentType
- Returns:
-
isController
public boolean isController()- Overrides:
isController
in classArchitecturallyEvidentType
-