Class License
- java.lang.Object
-
- org.owasp.dependencycheck.xml.pom.License
-
- All Implemented Interfaces:
java.io.Serializable
@ThreadSafe public class License extends java.lang.Object implements java.io.Serializable- Author:
- jeremy long
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Generated equals method to perform equality check.java.lang.StringgetName()Get the value of name.java.lang.StringgetUrl()Get the value of URL.inthashCode()Generated hashCode implementation.voidsetName(java.lang.String name)Set the value of name.voidsetUrl(java.lang.String url)Set the value of URL.java.lang.StringtoString()Generated toString.
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Get the value of URL.- Returns:
- the value of URL
-
setUrl
public void setUrl(java.lang.String url)
Set the value of URL.- Parameters:
url- new value of URL
-
getName
public java.lang.String getName()
Get the value of name.- Returns:
- the value of name
-
setName
public void setName(java.lang.String name)
Set the value of name.- Parameters:
name- new value of name
-
hashCode
public int hashCode()
Generated hashCode implementation.- Overrides:
hashCodein classjava.lang.Object- Returns:
- the hash code
-
equals
public boolean equals(java.lang.Object obj)
Generated equals method to perform equality check.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to check- Returns:
- true if the objects are equal; otherwise false
-
toString
public java.lang.String toString()
Generated toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation of the license
-
-