public class NamedScope extends Object implements Scope
Constructor and Description |
---|
NamedScope(String name)
Constructor creates a new NamedScope with the specified name.
|
NamedScope(String name,
Scope scope)
Constructor creates a new NamedScope with the specified name.
|
public NamedScope(String name) throws IllegalArgumentException
name
- the name != null.IllegalArgumentException
- if the given string is null.public NamedScope(String name, Scope scope) throws IllegalArgumentException
name
- the name != null.scope
- the scope != null.IllegalArgumentException
- if the given string is null.public String getName()
getName
in interface Scope
Scope.getName()
public Scope getScope()
getScope
in interface Scope
Scope.getScope()
Copyright © 2004–2017 52north.org. All rights reserved.