org.omg.model1.jpa3.Constant 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 Constant
*
* This Class provides a mechanism for defining constant values of simple data types, in the support of model development.
*/
@SuppressWarnings("serial")
public class Constant extends org.omg.model1.jpa3.Element
implements org.omg.model1.cci2.Constant
{
/**
* Constructor
*/
public Constant(
){
// Implements Serializable
}
// ----------------------------------------------------------------------------
// 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 constValue
.
*/
java.lang.String constValue;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute constValue
.
*
* This Attribute gives the value of the constant.
* @return The non-null value for attribute constValue
.
*/
public final java.lang.String getConstValue(
){
return this.constValue;
}
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute constValue
.
*
* This Attribute gives the value of the constant.
* @param constValue The non-null new value for attribute constValue
.
*/
public void setConstValue(
java.lang.String constValue
){
super.openmdxjdoMakeDirty();
this.constValue = constValue;
}
// ----------------------------------------------------------------------------
// 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
//
//////////////////////////////////////////////////////////////////////////////
}