Package org.cyclonedx.model
Class Dependency
- java.lang.Object
-
- org.cyclonedx.model.BomReference
-
- org.cyclonedx.model.Dependency
-
public class Dependency extends BomReference
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Dependency>dependencies
-
Constructor Summary
Constructors Constructor Description Dependency()Dependency(java.lang.String ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDependency(Dependency dependency)booleanequals(java.lang.Object o)java.util.List<Dependency>getDependencies()inthashCode()voidsetDependencies(java.util.List<Dependency> dependencies)-
Methods inherited from class org.cyclonedx.model.BomReference
getRef
-
-
-
-
Field Detail
-
dependencies
private java.util.List<Dependency> dependencies
-
-
Method Detail
-
getDependencies
public java.util.List<Dependency> getDependencies()
-
setDependencies
public void setDependencies(java.util.List<Dependency> dependencies)
-
addDependency
public void addDependency(Dependency dependency)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBomReference
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBomReference
-
-