org.omg.model1.jpa3.Exception 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 Exception
*/
@SuppressWarnings("serial")
public class Exception extends org.omg.model1.jpa3.Element
implements org.omg.model1.cci2.Exception
{
/**
* Constructor
*/
public Exception(
){
// Implements Serializable
}
// ----------------------------------------------------------------------------
// Instance/ReferenceDeclaration
// ----------------------------------------------------------------------------
/**
* Reference namespaceContent
.
*/
@SuppressWarnings("unused")
private transient java.util.Set namespaceContent;
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference namespaceContent
.
* @return A set containing all the elements for this reference.
*/
public org.omg.model1.cci2.NamespaceContainsElement.NamespaceContent getNamespaceContent(
){
throw new javax.jdo.JDOFatalUserException(
"This signature is not handled by data object",
new UnsupportedOperationException("This signature is not handled by data object. Use query on member 'namespaceContent'."),
this
);
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute visibility
.
*/
java.lang.String visibility;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute visibility
.
*
* In the future, this Attribute will be used to limit the ability of Elements outside of this Feature?s container to make use of it. The rules of visibility of MOF Elements are not currently specified.
* @return The non-null value for attribute visibility
.
*/
public final java.lang.String getVisibility(
){
return this.visibility;
}
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute visibility
.
*
* In the future, this Attribute will be used to limit the ability of Elements outside of this Feature?s container to make use of it. The rules of visibility of MOF Elements are not currently specified.
* @param visibility The non-null new value for attribute visibility
.
*/
public void setVisibility(
java.lang.String visibility
){
super.openmdxjdoMakeDirty();
this.visibility = visibility;
}
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by content
.
* @return The Collection
of referenced objects.
*/
public java.util.Set getContent(
){
throw new javax.jdo.JDOFatalUserException(
"This signature is not handled by data object",
new UnsupportedOperationException("This signature is not handled by data object. Use getContent_Id()."),
this
);
}
public java.util.Set getContent_Id(
){
java.util.SortedMap slices = openmdxjdoGetSlices();
return new org.w3c.jpa3.AbstractObject.SlicedSet(slices) {
@Override
protected java.lang.String getValue(Exception$Slice slice) {
return slice.getContent();
}
@Override
protected void setValue(Exception$Slice slice, java.lang.String value) {
openmdxjdoMakeDirty();
slice.setContent(value);
}
@Override
protected Exception$Slice newSlice(int index) {
return new Exception$Slice(Exception.this, index);
}
@Override
protected void setSize(int size) {
openmdxjdoMakeDirty();
content_size = size;
}
@Override
public int size() {
return content_size;
}
};
}
// ----------------------------------------------------------------------------
// Instance/DeclareValue
// ----------------------------------------------------------------------------
/**
* Attribute scope
.
*/
java.lang.String scope;
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute scope
.
*
* The scope defines whether a Feature supports the definition of instances of the Classifier owning the Feature or of the Classifier as a whole. When scope is instanceLevel, the Feature is accessed through instances of the Feature's owning Classifier; when scope is classifier, the Feature is accessed through the Classifier itself (or through its instances). For StructuralFeatures, a scope of instanceLevel indicates that a value represented by the StructuralFeature is associated with each instance of the Classifier; a scope of classifierLevel indicates that the
* StructuralFeature value is shared by the Classifier and all its instances.
*
* @return The non-null value for attribute scope
.
*/
public final java.lang.String getScope(
){
return this.scope;
}
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute scope
.
*
* The scope defines whether a Feature supports the definition of instances of the Classifier owning the Feature or of the Classifier as a whole. When scope is instanceLevel, the Feature is accessed through instances of the Feature's owning Classifier; when scope is classifier, the Feature is accessed through the Classifier itself (or through its instances). For StructuralFeatures, a scope of instanceLevel indicates that a value represented by the StructuralFeature is associated with each instance of the Classifier; a scope of classifierLevel indicates that the
* StructuralFeature value is shared by the Classifier and all its instances.
*
* @param scope The non-null new value for attribute scope
.
*/
public void setScope(
java.lang.String scope
){
super.openmdxjdoMakeDirty();
this.scope = scope;
}
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nNoQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the Collection
of objects referenced by parameter
.
* @return The Collection
of referenced objects.
*/
public java.util.List getParameter(
){
throw new javax.jdo.JDOFatalUserException(
"This signature is not handled by data object",
new UnsupportedOperationException("This signature is not handled by data object. Use getParameter_Id()."),
this
);
}
public java.util.List getParameter_Id(
){
java.util.SortedMap slices = openmdxjdoGetSlices();
return new org.w3c.jpa3.AbstractObject.SlicedList(slices) {
@Override
protected java.lang.String getValue(Exception$Slice slice) {
return slice.getParameter();
}
@Override
protected void setValue(Exception$Slice slice, java.lang.String value) {
openmdxjdoMakeDirty();
slice.setParameter(value);
}
@Override
protected Exception$Slice newSlice(int index) {
return new Exception$Slice(Exception.this, index);
}
@Override
protected void setSize(int size) {
openmdxjdoMakeDirty();
parameter_size = size;
}
@Override
public int size() {
return parameter_size;
}
};
}
// ----------------------------------------------------------------------------
// Instance/ReferenceDeclaration
// ----------------------------------------------------------------------------
/**
* Reference allNamespaceContent
.
*/
@SuppressWarnings("unused")
private transient java.util.Set allNamespaceContent;
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference allNamespaceContent
.
* @return A set containing all the elements for this reference.
*/
public org.omg.model1.cci2.NamespaceContainsAllElement.AllNamespaceContent getAllNamespaceContent(
){
throw new javax.jdo.JDOFatalUserException(
"This signature is not handled by data object",
new UnsupportedOperationException("This signature is not handled by data object. Use query on member 'allNamespaceContent'."),
this
);
}
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/DeclareSize
// ----------------------------------------------------------------------------
/**
* Number of elements of attribute content
*/
int content_size;
// ----------------------------------------------------------------------------
// Instance/DeclareSize
// ----------------------------------------------------------------------------
/**
* Number of elements of attribute parameter
*/
int parameter_size;
// ----------------------------------------------------------------------------
// 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
//
//////////////////////////////////////////////////////////////////////////////
}