Package jetbrains.mps.java.stub
Class JavaPackageModelId
- java.lang.Object
 - 
- jetbrains.mps.java.stub.JavaPackageModelId
 
 
- 
- All Implemented Interfaces:
 SModelId
public final class JavaPackageModelId extends Object implements SModelId
Dedicated model identity to represent package stubs.- Since:
 - 3.3
 - See Also:
 JavaPackageNameStub
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaPackageModelId.Factory 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetModelName()Returns model name if it is a part of the identifier, or null otherwise.StringgetType()inthashCode()booleanisGloballyUnique()Globally unique model identifiers can be resolved in a context of the whole repository.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
isGloballyUnique
public boolean isGloballyUnique()
Description copied from interface:SModelIdGlobally unique model identifiers can be resolved in a context of the whole repository. For example, implementations based onUUIDorURIdo not need a module to be resolved.- Specified by:
 isGloballyUniquein interfaceSModelId
 
- 
getModelName
public String getModelName()
Description copied from interface:SModelIdReturns model name if it is a part of the identifier, or null otherwise.- Specified by:
 getModelNamein interfaceSModelId
 
 - 
 
 -