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 boolean
equals(java.lang.Object obj)
Generated equals method to perform equality check.java.lang.String
getName()
Get the value of name.java.lang.String
getUrl()
Get the value of URL.int
hashCode()
Generated hashCode implementation.void
setName(java.lang.String name)
Set the value of name.void
setUrl(java.lang.String url)
Set the value of URL.java.lang.String
toString()
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:
hashCode
in classjava.lang.Object
- Returns:
- the hash code
-
equals
public boolean equals(java.lang.Object obj)
Generated equals method to perform equality check.- Overrides:
equals
in 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:
toString
in classjava.lang.Object
- Returns:
- the string representation of the license
-
-