Class AntlrAssociationEndSignature
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.AntlrOrdinalElement
cool.klass.model.converter.compiler.state.AntlrNamedElement
cool.klass.model.converter.compiler.state.AntlrIdentifierElement
cool.klass.model.converter.compiler.state.property.AntlrProperty
cool.klass.model.converter.compiler.state.property.AntlrReferenceProperty<AntlrClassifier>
cool.klass.model.converter.compiler.state.property.AntlrAssociationEndSignature
- All Implemented Interfaces:
AntlrClassifierReferenceOwner,AntlrMultiplicityOwner,IAntlrElement,AntlrOrderByOwner
public class AntlrAssociationEndSignature
extends AntlrReferenceProperty<AntlrClassifier>
implements AntlrClassifierReferenceOwner
-
Field Summary
FieldsFields inherited from class cool.klass.model.converter.compiler.state.property.AntlrReferenceProperty
multiplicity, NOT_FOUND, orderByFields inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
AMBIGUOUS_IDENTIFIER_CONTEXT, NOT_FOUND_IDENTIFIER_CONTEXTFields inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
CONSTANT_NAME_PATTERN, JAVA_KEYWORDS, JAVA_LITERALS, MEMBER_NAME_PATTERN, nameContext, PACKAGE_NAME_PATTERN, RELADOMO_TYPES, SQL_KEYWORDS, TYPE_NAME_PATTERNFields inherited from class cool.klass.model.converter.compiler.state.AntlrOrdinalElement
ordinalFields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsConstructorDescriptionAntlrAssociationEndSignature(KlassParser.AssociationEndSignatureContext elementContext, Optional<CompilationUnit> compilationUnit, int ordinal, KlassParser.IdentifierContext nameContext, AntlrClassifier owningClassifier) -
Method Summary
Modifier and TypeMethodDescriptionbuild()voidenterClassifierReference(AntlrClassifierReference classifierReference) getType()protected KlassParser.IdentifierContextvoidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) Methods inherited from class cool.klass.model.converter.compiler.state.property.AntlrReferenceProperty
enterMultiplicity, enterOrderByDeclaration, getMultiplicity, getOrderBy, getTypeName, isOwned, isToMany, isToOne, isToOneOptional, isToOneRequired, reportInvalidMultiplicity, reportToOneOrderBy, reportTypeNotFoundMethods inherited from class cool.klass.model.converter.compiler.state.property.AntlrProperty
enterModifier, getContextBefore, getModifiers, getModifiersByName, getNamePattern, getNumModifiers, getShortString, isContext, isCreatedBy, isFinal, isLastUpdatedBy, isPrivate, isVersion, reportAuditErrors, reportDuplicateAuditModifiers, reportDuplicateMemberName, reportDuplicatePropertyWithModifiers, reportInvalidAuditProperties, reportUnreferencedPrivateProperty, toStringMethods inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
getNameContextMethods inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
getName, reportKeywordCollision, reportNameErrorsMethods inherited from class cool.klass.model.converter.compiler.state.AntlrOrdinalElement
getOrdinalMethods inherited from class cool.klass.model.converter.compiler.state.AntlrElement
getCompilationUnit, getMacroElement, getMacroElementBuilder, getSourceCodeBuilder, getSourceText, getSourceTextLenient, hasMacro, isForwardReference, isInSameCompilationUnitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface cool.klass.model.converter.compiler.state.IAntlrElement
gatherSurroundingElements, getCompilationUnit, getContextAfter, getContextBefore, getEntireContext, getMacroElement, getSurroundingElement, getSurroundingElements, isContext, reportAuditErrors
-
Field Details
-
AMBIGUOUS
-
-
Constructor Details
-
AntlrAssociationEndSignature
public AntlrAssociationEndSignature(@Nonnull KlassParser.AssociationEndSignatureContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext, @Nonnull AntlrClassifier owningClassifier)
-
-
Method Details
-
getSurroundingElement
- Specified by:
getSurroundingElementin interfaceIAntlrElement
-
build
- Specified by:
buildin classAntlrReferenceProperty<AntlrClassifier>
-
reportErrors
- Overrides:
reportErrorsin classAntlrReferenceProperty<AntlrClassifier>
-
getOwningClassifier
- Specified by:
getOwningClassifierin classAntlrProperty
-
getElementBuilder
- Specified by:
getElementBuilderin classAntlrReferenceProperty<AntlrClassifier>
-
getTypeIdentifier
- Specified by:
getTypeIdentifierin classAntlrReferenceProperty<AntlrClassifier>
-
getElementContext
- Specified by:
getElementContextin interfaceIAntlrElement- Overrides:
getElementContextin classAntlrElement
-
getType
- Specified by:
getTypein classAntlrReferenceProperty<AntlrClassifier>
-
enterClassifierReference
- Specified by:
enterClassifierReferencein interfaceAntlrClassifierReferenceOwner
-