All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.openmanufacturing.sds.staticmetamodel.constraint.StaticConstraintContainerProperty Maven / Gradle / Ivy

/*
 * Copyright (c) 2021 Robert Bosch Manufacturing Solutions GmbH
 *
 * See the AUTHORS file(s) distributed with this work for additional
 * information regarding authorship.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 *
 * SPDX-License-Identifier: MPL-2.0
 */

package io.openmanufacturing.sds.staticmetamodel.constraint;

import java.util.Optional;

import io.openmanufacturing.sds.metamodel.Characteristic;
import io.openmanufacturing.sds.metamodel.Property;
import io.openmanufacturing.sds.metamodel.ScalarValue;
import io.openmanufacturing.sds.metamodel.loader.MetaModelBaseAttributes;
import io.openmanufacturing.sds.staticmetamodel.ContainerProperty;

/**
 * Extends {@link StaticConstraintProperty} to represent container or wrapper types like {@code Collection} or {@code
 * Optional} and carries type information about the contained type and includes a constraint
 */
public abstract class StaticConstraintContainerProperty
      extends StaticConstraintProperty implements ContainerProperty {

   public StaticConstraintContainerProperty(
         final MetaModelBaseAttributes metaModelBaseAttributes,
         final Characteristic characteristic,
         final Optional exampleValue,
         final boolean optional,
         final boolean notInPayload,
         final Optional payloadName,
         final boolean isAbstract,
         final Optional extends_ ) {
      super( metaModelBaseAttributes, characteristic, exampleValue, optional, notInPayload, payloadName, isAbstract, extends_ );
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy