|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UML(identifier="NameSpace",
specification=ISO_19103)
public interface NameSpace
A domain in which names given by character strings are defined.
Every GenericName must be valid in a namespace. For a LocalName, this means
that the name must exist in the current namespace. For a ScopedName, this means:
ScopedName must be a LocalName
which is valid in this namespace.LocalName which is valid in the NameSpace associated with the head, orScopedName with these same constraints on head and tail, applied to
the NameSpace associated with the head.
| Method Summary | |
|---|---|
boolean |
isGlobal()
Indicates whether this namespace is a "top level" namespace. |
GenericName |
name()
Represents the identifier of this namespace. |
| Method Detail |
|---|
@UML(identifier="isGlobal",
obligation=MANDATORY,
specification=ISO_19103)
boolean isGlobal()
true if this namespace has no parent.
@UML(identifier="name",
obligation=MANDATORY,
specification=ISO_19103)
GenericName name()
true, indicating that this is a top level NameSpace, then the name shall be a
local name. If false, name shall be a fully-qualified name where
name.scope().isGlobal() == true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||