Package com.polarion.platform.context
Interface IContext
public interface IContext
-
Method Details
-
getId
IContextId getId()- Returns:
- The context id, which is never
null
.
-
getName
String getName()While the context id is globally unique and completely identifies the context in the tree hierarchy, the name is a string which identifies the context only locally. The main purpose of the name is to give easy way for clients, who wish which duplicate the contexts structure, e.g. in the file system.- Returns:
- Name of the context.
-
getNature
ContextNature getNature()- Returns:
- Context's nature can be
null
.
-
getLocation
- Returns:
- Location, representing this context in the repository or
null
in case that this context has no counter part in the repository (which is a typical case of the root context, eventually its children).
-