org.omg.model1.jpa3.Parameter 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.jpa3;
/**
* Class Parameter
*
* A parameter provides a means of communication with operations and other BehavioralFeatures. A parameter passes or communicates values of its defined type.
*/
@SuppressWarnings("serial")
public class Parameter extends org.omg.model1.jpa3.Element
implements org.omg.model1.cci2.Parameter
{
/**
* Constructor
*/
public Parameter(
){
// Implements Serializable
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute multiplicity
.
*/
java.lang.String multiplicity;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute multiplicity
.
*
* Multiplicity defines cardinality constraints on the set of instances or values that a Parameter can hold. Multiplicity defines a lower and upper bound on the set, although the upper bound can be specified as Unbounded.
* @return The non-null value for attribute multiplicity
.
*/
public final java.lang.String getMultiplicity(
){
return this.multiplicity;
}
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute multiplicity
.
*
* Multiplicity defines cardinality constraints on the set of instances or values that a Parameter can hold. Multiplicity defines a lower and upper bound on the set, although the upper bound can be specified as Unbounded.
* @param multiplicity The non-null new value for attribute multiplicity
.
*/
public void setMultiplicity(
java.lang.String multiplicity
){
super.openmdxjdoMakeDirty();
this.multiplicity = multiplicity;
}
// ----------------------------------------------------------------------------
// Instance/ReferenceDeclaration
// ----------------------------------------------------------------------------
/**
* Instance referenced by type
.
*/
java.lang.String type;
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference type
.
* @return The non-null
value for this reference.
*/
public org.omg.model1.cci2.Classifier getType(
) {
throw new javax.jdo.JDOFatalUserException(
"This signature is not handled by data object",
new UnsupportedOperationException("This signature is not handled by data object. Use getType_Id()."),
this
);
}
public java.lang.String getType_Id(
) {
return this.type;
}
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference type
.
* @param type The new non-null
value for this reference.
*/
public void setType(
org.omg.model1.cci2.Classifier type
){
throw new javax.jdo.JDOFatalUserException(
"Typed set not handled by data object",
new UnsupportedOperationException("Use setType_Id() instead."),
this
);
}
public void setType_Id(
java.lang.String type
) {
super.openmdxjdoMakeDirty();
this.type = type;
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute direction
.
*/
java.lang.String direction;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute direction
.
*
* This attribute specifies the purpose of the parameter; to input a value, to output a value, both purposes, or to provide an operation return value.
* @return The non-null value for attribute direction
.
*/
public final java.lang.String getDirection(
){
return this.direction;
}
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute direction
.
*
* This attribute specifies the purpose of the parameter; to input a value, to output a value, both purposes, or to provide an operation return value.
* @param direction The non-null new value for attribute direction
.
*/
public void setDirection(
java.lang.String direction
){
super.openmdxjdoMakeDirty();
this.direction = direction;
}
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// 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
//
//////////////////////////////////////////////////////////////////////////////
}