Class TacticDDDLanguageValidator

    • Constructor Detail

      • TacticDDDLanguageValidator

        public TacticDDDLanguageValidator()
    • Method Detail

      • checkServiceNameStartsWithUpperCase

        public void checkServiceNameStartsWithUpperCase​(Service service)
      • checkRepositoryNameStartsWithUpperCase

        public void checkRepositoryNameStartsWithUpperCase​(Repository repository)
      • checkDomainObjectNameStartsWithUpperCase

        public void checkDomainObjectNameStartsWithUpperCase​(SimpleDomainObject domainObject)
      • checkPropertyNameStartsWithLowerCase

        public void checkPropertyNameStartsWithLowerCase​(AnyProperty prop)
      • checkParamterNameStartsWithLowerCase

        public void checkParamterNameStartsWithLowerCase​(Parameter param)
      • checkRequired

        public void checkRequired​(Property prop)
      • checkKeyNotChangeable

        public void checkKeyNotChangeable​(Property prop)
      • checkKeyRequired

        public void checkKeyRequired​(Property prop)
      • checkCollectionCache

        public void checkCollectionCache​(Reference ref)
      • checkInverse

        public void checkInverse​(Reference ref)
      • checkJoinTable

        public void checkJoinTable​(Reference ref)
      • checkJoinColumn

        public void checkJoinColumn​(Reference ref)
      • checkNullable

        public void checkNullable​(Reference ref)
      • checkDatabaseColumnForBidirectionalOneToMany

        public void checkDatabaseColumnForBidirectionalOneToMany​(Reference ref)
        For bidirectional one-to-many associations it should only be possible to define databaseColumn on the reference pointing to the one-side.
      • checkOpposite

        public void checkOpposite​(Reference ref)
      • checkChangeableCollection

        public void checkChangeableCollection​(Reference ref)
      • checkOrderBy

        public void checkOrderBy​(Reference ref)
      • checkOrderColumn

        public void checkOrderColumn​(Reference ref)
      • checkOrderByOrOrderColumn

        public void checkOrderByOrOrderColumn​(Reference ref)
      • checkNullableKey

        public void checkNullableKey​(Property prop)
      • checkKeyNotManyRefererence

        public void checkKeyNotManyRefererence​(Reference ref)
      • checkCascade

        public void checkCascade​(Reference ref)
      • checkCache

        public void checkCache​(Reference ref)
      • checkRepositoryName

        public void checkRepositoryName​(Repository repository)
      • checkEnumReference

        public void checkEnumReference​(Reference ref)
      • checkEnumValues

        public void checkEnumValues​(Enum dslEnum)
      • checkEnumAttributes

        public void checkEnumAttributes​(Enum dslEnum)
      • checkEnumParameter

        public void checkEnumParameter​(Enum dslEnum)
      • checkEnumImplicitAttribute

        public void checkEnumImplicitAttribute​(Enum dslEnum)
      • checkEnumAttributeKey

        public void checkEnumAttributeKey​(Enum dslEnum)
      • checkEnumOrdinal

        public void checkEnumOrdinal​(Enum dslEnum)
      • checkEnumOrdinalOrDatabaseLength

        public void checkEnumOrdinalOrDatabaseLength​(Enum dslEnum)
      • checkEnumDatabaseLength

        public void checkEnumDatabaseLength​(Enum dslEnum)
      • checkGap

        public void checkGap​(Service service)
      • checkGap

        public void checkGap​(Repository repository)
      • checkGap

        public void checkGap​(DomainObject domainObj)
      • checkGap

        public void checkGap​(BasicType domainObj)
      • checkDiscriminatorValue

        public void checkDiscriminatorValue​(Entity domainObj)
      • checkDiscriminatorValue

        public void checkDiscriminatorValue​(ValueObject domainObj)
      • checkRepositoryOnlyForAggregateRoot

        public void checkRepositoryOnlyForAggregateRoot​(DomainObject domainObj)
      • checkBelongsToRefersToAggregateRoot

        public void checkBelongsToRefersToAggregateRoot​(DomainObject domainObj)
      • checkAggregateRootOnlyForPersistentValueObject

        public void checkAggregateRootOnlyForPersistentValueObject​(ValueObject domainObj)
      • checkLength

        public void checkLength​(Attribute attr)
      • checkNullable

        public void checkNullable​(Attribute attr)
      • checkCreditCardNumber

        public void checkCreditCardNumber​(Attribute attr)
      • checkEmail

        public void checkEmail​(Attribute attr)
      • checkNotEmpty

        public void checkNotEmpty​(Attribute attr)
      • checkNotEmpty

        public void checkNotEmpty​(Reference ref)
      • checkSize

        public void checkSize​(Reference ref)
      • checkPast

        public void checkPast​(Attribute attr)
      • checkFuture

        public void checkFuture​(Attribute attr)
      • checkMin

        public void checkMin​(Attribute attr)
      • checkMax

        public void checkMax​(Attribute attr)
      • checkRange

        public void checkRange​(Attribute attr)
      • checkDigits

        public void checkDigits​(Attribute attr)
      • checkAssertTrue

        public void checkAssertTrue​(Attribute attr)
      • checkAssertFalse

        public void checkAssertFalse​(Attribute attr)
      • checkScaffoldValueObject

        public void checkScaffoldValueObject​(ValueObject valueObj)
      • checkScaffoldEvent

        public void checkScaffoldEvent​(Event event)
      • checkRepositoryEvent

        public void checkRepositoryEvent​(Event event)
      • checkRepositoryDuplicateName

        public void checkRepositoryDuplicateName​(Repository repository)
      • checkMissingReferenceNotationWithNoCollection

        public void checkMissingReferenceNotationWithNoCollection​(Attribute attr)
        Type matches a domain object, but due to missing '-', comes in as a Attribute rather than a Reference
      • checkMissingReferenceNotationWithCollection

        public void checkMissingReferenceNotationWithCollection​(Attribute attr)
        Type for collection matches a domain object, but due to missing '-', comes in as a Attribute rather than a Reference
      • checkMissingDomainObjectInServiceOperationReturnType

        public void checkMissingDomainObjectInServiceOperationReturnType​(ServiceOperation it)
      • checkMissingDomainObjectInRepositoryOperationReturnType

        public void checkMissingDomainObjectInRepositoryOperationReturnType​(RepositoryOperation it)
      • checkMissingDomainObjectInParameter

        public void checkMissingDomainObjectInParameter​(Parameter it)