Class Dependency
- java.lang.Object
 - 
- jetbrains.mps.project.structure.modules.Dependency
 
 
- 
- All Implemented Interfaces:
 Copyable<Dependency>
public final class Dependency extends Object implements Copyable<Dependency>
Persistence and editing of SDependency 
- 
- 
Constructor Summary
Constructors Constructor Description Dependency()Deprecated.use the other constructors insteadDependency(SModuleReference ref, boolean reexport)Dependency(SModuleReference ref, SDependencyScope scope)Dependency(SModuleReference ref, SDependencyScope scope, boolean reexport) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dependencycopy()booleanequals(Object obj)SModuleReferencegetModuleRef()SDependencyScopegetScope()inthashCode()booleanisReexport()voidload(ModelInputStream stream)voidsave(ModelOutputStream stream)voidsetModuleRef(SModuleReference moduleRef)voidsetReexport(boolean reexport)voidsetScope(SDependencyScope scope)StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
Dependency
@Deprecated public Dependency()
Deprecated.use the other constructors instead 
- 
Dependency
public Dependency(SModuleReference ref, boolean reexport)
 
- 
Dependency
public Dependency(@NotNull SModuleReference ref, @NotNull SDependencyScope scope, boolean reexport)
 
- 
Dependency
public Dependency(@NotNull SModuleReference ref, @NotNull SDependencyScope scope)
 
 - 
 
- 
Method Detail
- 
getModuleRef
@NotNull public SModuleReference getModuleRef()
 
- 
setModuleRef
public void setModuleRef(@NotNull SModuleReference moduleRef)
 
- 
isReexport
public boolean isReexport()
 
- 
setReexport
public void setReexport(boolean reexport)
 
- 
getScope
@NotNull public SDependencyScope getScope()
 
- 
setScope
public void setScope(@NotNull SDependencyScope scope)
 
- 
copy
@NotNull public Dependency copy()
- Specified by:
 copyin interfaceCopyable<Dependency>- Returns:
 - full deep-copy of the T instance
 
 
- 
save
public void save(ModelOutputStream stream) throws IOException
- Throws:
 IOException
 
- 
load
public void load(ModelInputStream stream) throws IOException
- Throws:
 IOException
 
 - 
 
 -