diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/ArtifactDataProvider.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/ArtifactDataProvider.java | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/ArtifactDataProvider.java b/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/ArtifactDataProvider.java index 3c30ccf10d0..30e7e675e2c 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/ArtifactDataProvider.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/ArtifactDataProvider.java @@ -1,42 +1,42 @@ -/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * 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:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.dsl.integration;
-
-import java.util.Collection;
-import org.eclipse.osee.framework.core.data.IAttributeType;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.model.IBasicArtifact;
-import org.eclipse.osee.framework.core.model.type.ArtifactType;
-import org.eclipse.osee.framework.core.model.type.RelationType;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface ArtifactDataProvider {
-
- public static interface ArtifactData {
- String getGuid();
-
- ArtifactType getArtifactType();
-
- boolean isAttributeTypeValid(IAttributeType attributeType) throws OseeCoreException;
-
- Collection<RelationType> getValidRelationTypes() throws OseeCoreException;
-
- Collection<String> getHierarchy();
-
- IBasicArtifact<?> getObject();
- }
-
- boolean isApplicable(Object object);
-
- ArtifactData asCastedObject(Object object) throws OseeCoreException;
+/******************************************************************************* + * Copyright (c) 2004, 2007 Boeing. + * 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: + * Boeing - initial API and implementation + *******************************************************************************/ +package org.eclipse.osee.framework.core.dsl.integration; + +import java.util.Collection; +import org.eclipse.osee.framework.core.data.IAttributeType; +import org.eclipse.osee.framework.core.exception.OseeCoreException; +import org.eclipse.osee.framework.core.model.IBasicArtifact; +import org.eclipse.osee.framework.core.model.type.ArtifactType; +import org.eclipse.osee.framework.core.model.type.RelationType; + +/** + * @author Roberto E. Escobar + */ +public interface ArtifactDataProvider { + + public static interface ArtifactData { + String getGuid(); + + ArtifactType getArtifactType(); + + boolean isAttributeTypeValid(IAttributeType attributeType) throws OseeCoreException; + + Collection<RelationType> getValidRelationTypes() throws OseeCoreException; + + Collection<String> getHierarchy(); + + IBasicArtifact<?> getObject(); + } + + boolean isApplicable(Object object); + + ArtifactData asCastedObject(Object object) throws OseeCoreException; }
\ No newline at end of file |