import com.google.common.base.Optional;
import java.util.Collection;
-import java.util.List;
import java.util.Map;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
*/
@Nonnull Optional<SchemaPath> getSchemaPath();
+ boolean isConfiguration();
+
+ boolean isEnabledSemanticVersioning();
+
@Nonnull
<K, V, KT extends K, N extends IdentifierNamespace<K, V>> V getFromNamespace(
Class<N> type, KT key) throws NamespaceNotAvailableException;
void addAsEffectOfStatement(StatementContextBase<?, ?, ?> ctx);
StatementContextBase<?, ?, ?> createCopy(
- StatementContextBase<?, ?, ?> newParent, TypeOfCopy typeOfCopy)
+ StatementContextBase<?, ?, ?> newParent, CopyType typeOfCopy)
throws SourceException;
StatementContextBase<?, ?, ?> createCopy(QNameModule newQNameModule,
- StatementContextBase<?, ?, ?> newParent, TypeOfCopy typeOfCopy)
+ StatementContextBase<?, ?, ?> newParent, CopyType typeOfCopy)
throws SourceException;
- enum TypeOfCopy {
- ORIGINAL, ADDED_BY_USES, ADDED_BY_AUGMENTATION, ADDED_BY_USES_AUGMENTATION
- }
+ CopyHistory getCopyHistory();
- List<TypeOfCopy> getCopyHistory();
+ enum SupportedByFeatures {
+ UNDEFINED, SUPPORTED, NOT_SUPPORTED
+ }
- void addAllToCopyHistory(List<TypeOfCopy> typeOfCopyList);
+ SupportedByFeatures getSupportedByFeatures();
- void addToCopyHistory(TypeOfCopy typeOfCopy);
+ void appendCopyHistory(CopyType typeOfCopy, CopyHistory toAppend);
StatementContextBase<?, ?, ?> getOriginalCtx();
<K, KT extends K, N extends StatementNamespace<K, ?, ?>> void addContext(
Class<N> namespace, KT key, StmtContext<?, ?, ?> stmt);
+ void setSupportedByFeatures(boolean isSupported);
}
}