Class ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
java.lang.Object
org.springframework.modulith.core.ArchitecturallyEvidentType
org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- Enclosing class:
- ArchitecturallyEvidentType
static class ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
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
ConstructorsConstructorDescriptionJMoleculesArchitecturallyEvidentType(com.tngtech.archunit.core.domain.JavaClass type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the type is considered an aggregate root in the DDD sense.booleanisEntity()Returns whether the type is an entity in the DDD sense.booleanbooleanReturns whether the type is considered a repository in the DDD sense.booleanbooleanMethods inherited from class org.springframework.modulith.core.ArchitecturallyEvidentType
getAbbreviatedFullName, getReferenceMethods, getReferenceTypes, getType, isConfigurationProperties, isController, isInjectable, of, toString
-
Constructor Details
-
JMoleculesArchitecturallyEvidentType
JMoleculesArchitecturallyEvidentType(com.tngtech.archunit.core.domain.JavaClass type)
-
-
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:
-
isService
public boolean isService()- Overrides:
isServicein classArchitecturallyEvidentType
-
isEventListener
public boolean isEventListener()- Overrides:
isEventListenerin classArchitecturallyEvidentType
-
isValueObject
public boolean isValueObject()- Overrides:
isValueObjectin classArchitecturallyEvidentType
-