Class ValueCopyVisitor

    • Constructor Detail

      • ValueCopyVisitor

        ValueCopyVisitor​(ProjectCopyVisitor copyier)
        Single constracutor for this class.
        Parameters:
        copyier - The currently used ProjectCopyVisitor containing the mapping of translated elements.
    • Method Detail

      • getResult

        Value getResult()
        Returns the deep copied value after visitation.
        Returns:
        The copied value.
      • translatedCompletely

        boolean translatedCompletely()
        Specifies whether the Value could be translated completely.
        Returns:
        true value was translated completely, false if some parts of the value must still be translated.
      • visitConstraintValue

        public void visitConstraintValue​(ConstraintValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting ConstraintValue.
        Specified by:
        visitConstraintValue in interface IValueVisitor
        Parameters:
        value - One ConstraintValue which should be visited.
      • visitEnumValue

        public void visitEnumValue​(EnumValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting EnumValue.
        Specified by:
        visitEnumValue in interface IValueVisitor
        Parameters:
        value - One EnumValue which should be visited.
      • visitStringValue

        public void visitStringValue​(StringValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting StringValue.
        Specified by:
        visitStringValue in interface IValueVisitor
        Parameters:
        value - One StringValue which should be visited.
      • visitCompoundValue

        public void visitCompoundValue​(CompoundValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting CompoundValue.
        Specified by:
        visitCompoundValue in interface IValueVisitor
        Parameters:
        value - One CompoundValue which should be visited.
      • visitContainerValue

        public void visitContainerValue​(ContainerValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting ContainerValue.
        Specified by:
        visitContainerValue in interface IValueVisitor
        Parameters:
        value - One CompoundValue which should be visited.
      • visitIntValue

        public void visitIntValue​(IntValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting IntValue.
        Specified by:
        visitIntValue in interface IValueVisitor
        Parameters:
        value - One IntValue which should be visited.
      • visitRealValue

        public void visitRealValue​(RealValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting RealValue.
        Specified by:
        visitRealValue in interface IValueVisitor
        Parameters:
        value - One RealValue which should be visited.
      • visitBooleanValue

        public void visitBooleanValue​(BooleanValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting BooleanValue.
        Specified by:
        visitBooleanValue in interface IValueVisitor
        Parameters:
        value - One BooleanValue which should be visited.
      • visitReferenceValue

        public void visitReferenceValue​(ReferenceValue referenceValue)
        Description copied from interface: IValueVisitor
        This method is used for visiting referenceValue.
        Specified by:
        visitReferenceValue in interface IValueVisitor
        Parameters:
        referenceValue - One referenceValue which should be visited.
      • visitMetaTypeValue

        public void visitMetaTypeValue​(MetaTypeValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting meta type value.
        Specified by:
        visitMetaTypeValue in interface IValueVisitor
        Parameters:
        value - a value which should be visited.
      • visitVersionValue

        public void visitVersionValue​(VersionValue value)
        Description copied from interface: IValueVisitor
        This method is used for visiting a version value.
        Specified by:
        visitVersionValue in interface IValueVisitor
        Parameters:
        value - a value which should be visited.