org.omg.model1.jpa3.StructureField 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 StructureField
*
* The StructureField class is used to specifiy the fields of a StructureType instance.
*/
@SuppressWarnings("serial")
public class StructureField extends org.omg.model1.jpa3.Element
implements org.omg.model1.cci2.StructureField
{
/**
* Constructor
*/
public StructureField(
){
// Implements Serializable
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute multiplicity
.
*/
java.lang.String multiplicity;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute multiplicity
.
* @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
.
* @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 maxLength
.
*/
int maxLength;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute maxLength
.
* @return The non-null value for attribute maxLength
.
*/
public final int getMaxLength(
){
return this.maxLength;
}
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute maxLength
.
* @param maxLength The non-null new value for attribute maxLength
.
*/
public void setMaxLength(
int maxLength
){
super.openmdxjdoMakeDirty();
this.maxLength = maxLength;
}
// ----------------------------------------------------------------------------
// 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
//
//////////////////////////////////////////////////////////////////////////////
}