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
ConstructorDescriptionJMoleculesArchitecturallyEvidentType
(com.tngtech.archunit.core.domain.JavaClass type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the type is considered an aggregate root in the DDD sense.boolean
isEntity()
Returns whether the type is an entity in the DDD sense.boolean
boolean
Returns whether the type is considered a repository in the DDD sense.boolean
boolean
Methods 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: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:
-
isService
public boolean isService()- Overrides:
isService
in classArchitecturallyEvidentType
-
isEventListener
public boolean isEventListener()- Overrides:
isEventListener
in classArchitecturallyEvidentType
-
isValueObject
public boolean isValueObject()- Overrides:
isValueObject
in classArchitecturallyEvidentType
-