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

org.plasma.sdo.profile.SDOKey Maven / Gradle / Ivy

The newest version!
//==============================================================================
//                                                          
// This software artifact was generated using PlasmaSDO    
// provisioning tools.                                      
//                                                          
//==============================================================================
package org.plasma.sdo.profile;


import fUML.Syntax.Classes.Kernel.*;
import org.modeldriven.fuml.repository.ext.Stereotype;
import org.plasma.sdo.Key;
/**
* 
* This stereotype tags or annotates a UML property as representing some type of key within a data store, data transfer or transient storage medium.
* 
* @author Plasma-Team
* @version 1.3.3
*/
public class SDOKey extends Stereotype
    implements Key
{

    /**
    * Specifies the type of key
    */
    public static final String TYPE = "type";
    public static final String BASE__PROPERTY = "base_Property";
    /**
    * Links a property element which supplies the actual data for the key where multiple possible targets exist. Where a key property is a reference SDO property and the target entity has multiple primary keys, the supplier is used by services to disambiguate which target key actually supplies the data.
    */
    public static final String SUPPLIER = "supplier";
    /**
    * The key set or constraint name
    */
    public static final String GROUP = "group";
    /**
    * The position or ordering of a key within a group
    */
    public static final String SEQUENCE = "sequence";
    /**
    * Whether the key is created and assigned automatically
    */
    public static final String AUTO = "auto";
    /**
    * Specifies the structure of key
    */
    public static final String STRUCTURE = "structure";

    /**
    * Specifies the type of key
    */
    private KeyType type;
    private Property base_Property;
    /**
    * Links a property element which supplies the actual data for the key where multiple possible targets exist. Where a key property is a reference SDO property and the target entity has multiple primary keys, the supplier is used by services to disambiguate which target key actually supplies the data.
    */
    private NamedElement supplier;
    /**
    * The key set or constraint name
    */
    private String group;
    /**
    * The position or ordering of a key within a group
    */
    private Integer sequence;
    /**
    * Whether the key is created and assigned automatically
    */
    private Boolean auto;
    /**
    * Specifies the structure of key
    */
    private KeyStructure structure;


    public KeyType getType() {
        return this.type;
    }

    public void setType(KeyType value) {
        this.type = value;
    }

    public Property getBase_Property() {
        return this.base_Property;
    }

    public void setBase_Property(Property value) {
        this.base_Property = value;
    }

    public NamedElement getSupplier() {
        return this.supplier;
    }

    public void setSupplier(NamedElement value) {
        this.supplier = value;
    }

    public String getGroup() {
        return this.group;
    }

    public void setGroup(String value) {
        this.group = value;
    }

    public Integer getSequence() {
        return this.sequence;
    }

    public void setSequence(Integer value) {
        this.sequence = value;
    }

    public Boolean getAuto() {
        return this.auto;
    }

    public void setAuto(Boolean value) {
        this.auto = value;
    }

    public KeyStructure getStructure() {
        return this.structure;
    }

    public void setStructure(KeyStructure value) {
        this.structure = value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy