@Override default Collection<? extends ActionStatement> getActions() { return declaredSubstatements(ActionStatement.class); } }
/** * Create the {@link SchemaPath} equivalent of this identifier. * * @return SchemaPath equivalent. */ public final SchemaPath asSchemaPath() { final SchemaPath ret = schemaPath; return ret != null ? ret : createSchemaPath(); }
@Override default Collection<? extends NotificationStatement> getNotifications() { return declaredSubstatements(NotificationStatement.class); } }
@Override public QName getSignificantKey(final SchemaNodeIdentifier key) { return key.getLastComponent(); } }
private static boolean isRelevantForIfFeatureCheck(final TypeEffectiveStatement<?> typeStmt) { final TypeDefinition<?> typeDefinition = typeStmt.getTypeDefinition(); return typeDefinition instanceof EnumTypeDefinition || typeDefinition instanceof BitsTypeDefinition || typeDefinition instanceof UnionTypeDefinition; }
@Override default Collection<? extends DeviationStatement> getDeviations() { return declaredSubstatements(DeviationStatement.class); } }
@Override default Collection<? extends GroupingStatement> getGroupings() { return declaredSubstatements(GroupingStatement.class); } }
@Override default Collection<? extends MustStatement> getMusts() { return declaredSubstatements(MustStatement.class); } }
@Override default Collection<? extends IfFeatureStatement> getIfFeatures() { return declaredSubstatements(IfFeatureStatement.class); } }
@Override default Collection<? extends IncludeStatement> getIncludes() { return declaredSubstatements(IncludeStatement.class); } }
@Override default Collection<? extends GroupingStatement> getGroupings() { return declaredSubstatements(GroupingStatement.class); } }
@Override default Collection<? extends RevisionStatement> getRevisions() { return declaredSubstatements(RevisionStatement.class); } }
/** * Returns the list of nodes which need to be traversed to get from the * starting point (root for absolute SchemaPaths) to the node represented * by this object. * * @return list of <code>qname</code> instances which represents * path from the root to the schema node. */ public Iterable<QName> getPathFromRoot() { return getLegacyPath(); }
@Override default Collection<? extends DataDefinitionStatement> getDataDefinitions() { return declaredSubstatements(DataDefinitionStatement.class); }
@Override default Collection<? extends RpcStatement> getRpcs() { return declaredSubstatements(RpcStatement.class); }
@Override default Collection<? extends ActionStatement> getActions() { return declaredSubstatements(ActionStatement.class); } }
/** * Create the {@link SchemaPath} equivalent of this identifier. * * @return SchemaPath equivalent. */ public final SchemaPath asSchemaPath() { final SchemaPath ret = schemaPath; return ret != null ? ret : createSchemaPath(); }
@Override default Collection<? extends NotificationStatement> getNotifications() { return declaredSubstatements(NotificationStatement.class); } }
@Override default Collection<? extends GroupingStatement> getGroupings() { return declaredSubstatements(GroupingStatement.class); } }
@Override default Collection<? extends IdentityStatement> getIdentities() { return declaredSubstatements(IdentityStatement.class); }