
package com.exedio.cope.lib.hierarchy;

import com.exedio.cope.lib.IntegerAttribute;
import com.exedio.cope.lib.Item;

/**
 * @persistent
 */
public abstract class Super extends Item
{
	/**
	 * @persistent
	 * @not-null
	 */
	private static final IntegerAttribute superInt = new IntegerAttribute(); 
	
/**

	 **
	 * Constructs a new Super with all the attributes initially needed.
	 * @param initialSuperInt the initial value for attribute {@link #superInt}.
	 * @generated
	 *
 */private Super(
				final int initialSuperInt)
	{
		super(new com.exedio.cope.lib.AttributeValue[]{
			new com.exedio.cope.lib.AttributeValue(superInt,new Integer(initialSuperInt)),
		});
	}/**

	 **
	 * Creates an item and sets the given attributes initially.
	 * @generated
	 *
 */protected Super(final com.exedio.cope.lib.AttributeValue[] initialAttributes)
	{
		super(initialAttributes);
	}/**

	 **
	 * Reactivation constructor. Used for internal purposes only.
	 * @see Item#Item(com.exedio.cope.lib.util.ReactivationConstructorDummy,int)
	 * @generated
	 *
 */protected Super(com.exedio.cope.lib.util.ReactivationConstructorDummy d,final int pk)
	{
		super(d,pk);
	}/**

	 **
	 * Returns the value of the persistent attribute {@link #superInt}.
	 * @generated
	 *
 */private final int getSuperInt()
	{
		return ((Integer)getAttribute(this.superInt)).intValue();
	}/**

	 **
	 * Sets a new value for the persistent attribute {@link #superInt}.
	 * @generated
	 *
 */private final void setSuperInt(final int superInt)
	{
		try
		{
			setAttribute(this.superInt,new Integer(superInt));
		}
		catch(com.exedio.cope.lib.NotNullViolationException e)
		{
			throw new com.exedio.cope.lib.SystemException(e);
		}
		catch(com.exedio.cope.lib.ReadOnlyViolationException e)
		{
			throw new com.exedio.cope.lib.SystemException(e);
		}
		catch(com.exedio.cope.lib.UniqueViolationException e)
		{
			throw new com.exedio.cope.lib.SystemException(e);
		}
	}/**

	 **
	 * The persistent type information for super.
	 * @generated
	 *
 */public static final com.exedio.cope.lib.Type TYPE = 
		new com.exedio.cope.lib.Type(
			Super.class,
			new com.exedio.cope.lib.Attribute[]{
				superInt.initialize("superInt",false,true),
			},
			null
		)
;}

@@ -221,22 +221,21 @@
 %0A%09 */%0A%09p
-rivate
+ublic
  static 
@@ -475,22 +475,21 @@
 %09 *%0A */p
-rivate
+ublic
  Super(%0A
@@ -1243,30 +1243,29 @@
 ted%0A%09 *%0A */p
-rivate
+ublic
  final int g
@@ -1448,14 +1448,13 @@
  */p
-rivate
+ublic
  fin

make superInt public