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

org.plasma.sdo.AssociationPath Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
/**
 * Copyright 2017 TerraMeta Software, Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.plasma.sdo;

/**
 * Defines the structural nature of the path or set of paths between two model
 * types, where a path may involve one or more traversals or hops from the
 * source to the destination through any number of SDO reference properties.
 */
public enum AssociationPath {
  /**
   * Two model elements are associated through any number of singular reference
   * properties
   */
  singular,
  /**
   * Two model elements are associated through one-and-only-one singular
   * reference property
   */
  singular_unary,
  /**
   * Two model elements are associated through two singular reference properties
   */
  singular_binary,
  /**
   * Two model elements are associated through three singular reference
   * properties
   */
  singular_ternary,
  /**
   * Two model elements are associated through more-than-three singular
   * reference properties
   */
  singular_nary,

  /**
   * Two model elements are associated through any number of multi-valued (many)
   * reference properties
   */
  many,
  /**
   * Two model elements are associated through one-and-only-one multi-valued
   * (many) reference property
   */
  many_unary,
  /**
   * Two model elements are associated through two multi-valued (many) reference
   * properties
   */
  many_binary,
  /**
   * Two model elements are associated through three multi-valued (many)
   * reference properties
   */
  many_ternary,
  /**
   * Two model elements are associated through more-than-three multi-valued
   * (many) reference properties
   */
  many_nary,
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy