@ThreadSafe public class License extends Object implements Serializable
| Constructor and Description |
|---|
License()
Constructs a new license object.
|
License(String name,
String url)
Constructs a new license.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Generated equals method to perform equality check.
|
String |
getName()
Get the value of name.
|
String |
getUrl()
Get the value of url.
|
int |
hashCode()
Generated hashCode implementation.
|
void |
setName(String name)
Set the value of name.
|
void |
setUrl(String url)
Set the value of url.
|
String |
toString()
Generated toString.
|
public String getUrl()
public void setUrl(String url)
url - new value of urlpublic String getName()
public void setName(String name)
name - new value of namepublic int hashCode()
public boolean equals(Object obj)
Copyright © 2012–2020 OWASP. All rights reserved.