Package cool.klass.model.meta.domain
Class AssociationImpl.AssociationBuilder
java.lang.Object
cool.klass.model.meta.domain.AbstractElement.ElementBuilder<AssociationImpl>
cool.klass.model.meta.domain.AbstractOrdinalElement.OrdinalElementBuilder<AssociationImpl>
cool.klass.model.meta.domain.AbstractNamedElement.NamedElementBuilder<AssociationImpl>
cool.klass.model.meta.domain.AbstractIdentifierElement.IdentifierElementBuilder<AssociationImpl>
cool.klass.model.meta.domain.AbstractPackageableElement.PackageableElementBuilder<AssociationImpl>
cool.klass.model.meta.domain.AssociationImpl.AssociationBuilder
- All Implemented Interfaces:
TopLevelElementWithSourceCode.TopLevelElementBuilderWithSourceCode,TopLevelElement.TopLevelElementBuilder
- Enclosing class:
AssociationImpl
public static final class AssociationImpl.AssociationBuilder
extends AbstractPackageableElement.PackageableElementBuilder<AssociationImpl>
implements TopLevelElementWithSourceCode.TopLevelElementBuilderWithSourceCode
-
Field Summary
Fields inherited from class cool.klass.model.meta.domain.AbstractPackageableElement.PackageableElementBuilder
packageNameFields inherited from class cool.klass.model.meta.domain.AbstractNamedElement.NamedElementBuilder
nameContextFields inherited from class cool.klass.model.meta.domain.AbstractOrdinalElement.OrdinalElementBuilder
ordinalFields inherited from class cool.klass.model.meta.domain.AbstractElement.ElementBuilder
element, elementContext, macroElement, sourceCode -
Constructor Summary
ConstructorsConstructorDescriptionAssociationBuilder(KlassParser.AssociationDeclarationContext elementContext, Optional<AbstractElement.ElementBuilder<?>> macroElement, SourceCode.SourceCodeBuilder sourceCode, int ordinal, KlassParser.IdentifierContext nameContext, String packageName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected AssociationImplvoidsetAssociationEndBuilders(org.eclipse.collections.api.list.ImmutableList<AssociationEndImpl.AssociationEndBuilder> associationEndBuilders) voidsetCriteriaBuilder(AbstractCriteria.AbstractCriteriaBuilder<?> criteriaBuilder) Methods inherited from class cool.klass.model.meta.domain.AbstractIdentifierElement.IdentifierElementBuilder
getNameContextMethods inherited from class cool.klass.model.meta.domain.AbstractElement.ElementBuilder
build, getElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.klass.model.meta.domain.api.source.TopLevelElementWithSourceCode.TopLevelElementBuilderWithSourceCode
getElement
-
Constructor Details
-
AssociationBuilder
public AssociationBuilder(@Nonnull KlassParser.AssociationDeclarationContext elementContext, @Nonnull Optional<AbstractElement.ElementBuilder<?>> macroElement, @Nullable SourceCode.SourceCodeBuilder sourceCode, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext, @Nonnull String packageName)
-
-
Method Details
-
setAssociationEndBuilders
public void setAssociationEndBuilders(@Nonnull org.eclipse.collections.api.list.ImmutableList<AssociationEndImpl.AssociationEndBuilder> associationEndBuilders) -
setCriteriaBuilder
public void setCriteriaBuilder(@Nonnull AbstractCriteria.AbstractCriteriaBuilder<?> criteriaBuilder) -
buildUnsafe
- Specified by:
buildUnsafein classAbstractElement.ElementBuilder<AssociationImpl>
-
buildChildren
protected void buildChildren()- Overrides:
buildChildrenin classAbstractElement.ElementBuilder<AssociationImpl>
-