blob: 62807804c8ef7bed352d439d5dc6999b8a71a879 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013, 2018 CEA LIST and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink(CEA LIST) - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.examples.codegen.java.types;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.examples.codegen.java.JavaStream;
import org.eclipse.ocl.pivot.ids.CollectionTypeId;
/**
* A CollectionDescriptor defines the description of a type for a collection of objects.
*/
public interface CollectionDescriptor extends UnboxedDescriptor
{
void append(@NonNull JavaStream javaStream, boolean reClass);
void appendElement(@NonNull JavaStream javaStream, boolean reClass);
@NonNull CollectionTypeId getElementId();
}