org.omg.model1.cci2.Element Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $
// Generated by: openMDX Java Mapper
// Date: Mon Mar 09 17:04:35 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.omg.model1.cci2;
/**
* Abstract class Element
*
* Element classifies the elementary, atomic constructs of models. Element is the root Class within the MOF Model.
*/
public interface Element
extends org.openmdx.base.cci2.BasicObject{
// ----------------------------------------------------------------------------
// Instance/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute annotation
.
*
* Provides an informal description of the Element.
* @return The possibly null value for attribute annotation
.
*/
public java.lang.String getAnnotation(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute annotation
.
*
* Provides an informal description of the Element.
* @param annotation The possibly null new value for attribute annotation
.
*/
public void setAnnotation(
java.lang.String annotation
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference container
.
* @return The – possibly null
– value for this reference.
*/
public org.omg.model1.cci2.Namespace getContainer(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference container
.
* @param container The new – possibly null
– value for this reference.
*/
public void setContainer(
org.omg.model1.cci2.Namespace container
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute name
.
*
* Provides a meta-modeler supplied name that uniquely identifies the Element in the context of the ModelElement?s containing Namespace. When choosing an Element?s name, the meta-modeler should consider the rules for translating names into identifiers in the relevant mappings.
* @return The non-null value for attribute name
.
*/
public java.lang.String getName(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute qualifiedName
.
*
* Provides a unique name for the Element within the context of its outermost containing Package. The qualifiedName is a list of NameType values consisting of
* the names of the Element, its container, its container?s container and so on until a non-contained element is reached. The first member of the list is the name
* of the non-contained element.
* The 'qualifiedName' of an Element is of the form :. is the full-qualified package name, i.e. org:omg:model1. Samples for 'qualifiedName':
*
* - org:omg:model1:Attribute
* - org:openmdx::audit2:UnitOfWork
*
*
* @return The non-null value for attribute qualifiedName
.
*/
public java.lang.String getQualifiedName(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference segment
.
* @return The non-null
value for this reference.
*/
public org.omg.model1.cci2.Segment getSegment(
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetSet
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the attribute stereotype
.
* @return A set containing all elements for this attribute.
*/
public java.util.Set getStereotype(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetSet
// ----------------------------------------------------------------------------
/**
* Clears stereotype
and adds the given value(s).
*
* This method is equivalent to
* set.clear();
* for(java.lang.String e : stereotype){
* set.add(e);
* }
*
* @param stereotype value(s) to be added to stereotype
*/
public void setStereotype(
java.lang.String... stereotype
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the Segment
's identity
* @return the parent object's identity
*/
public org.openmdx.base.cci2.Segment.Identity getSegment();
/**
* Tells whether the qualifiedName
value is persistent or reassignable.
* @return PERSISTENT
or REASSIGNABLE
*/
public org.oasisopen.cci2.QualifierType getQualifiedNameType();
/**
* The qualifiedName
value
* @return the qualifiedName
value
*/
public java.lang.String getQualifiedName();
}
}