blob: b022af81cf9c7cfad15b2910a03e825bf783809a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2012 E.D.Willink and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.examples.pivot.manager;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.examples.domain.elements.DomainInheritance;
import org.eclipse.ocl.examples.pivot.InvalidType;
public class InvalidTypeServer extends ExtensibleTypeServer
{
public InvalidTypeServer(@NonNull PackageServer packageServer, @NonNull InvalidType type) {
super(packageServer, type);
}
@Override
public @NonNull DomainInheritance getCommonInheritance(@NonNull DomainInheritance thatInheritance) {
return thatInheritance;
}
@Override
public boolean isUndefined() {
return true;
}
}