org.axway.grapes.commons.datamodel
Class License
java.lang.Object
org.axway.grapes.commons.datamodel.License
public class License
- extends Object
License Model Class
Model Objects are used in the communication with the Grapes server. These objects are serialized/un-serialized in JSON objects to be exchanged via http REST calls.
- Author:
- jdcoffre
|
Constructor Summary |
protected |
License()
|
License
protected License()
getName
public String getName()
setName
public void setName(String name)
getLongName
public String getLongName()
setLongName
public void setLongName(String longName)
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getComments
public String getComments()
setComments
public void setComments(String comments)
getRegexp
public String getRegexp()
setRegexp
public void setRegexp(String regexp)
isApproved
public boolean isApproved()
setApproved
public void setApproved(boolean approved)
isUnknown
public boolean isUnknown()
setUnknown
public void setUnknown(boolean unknown)
equals
public boolean equals(Object obj)
- Checks if the dependency is the same than an other one.
- Overrides:
equals in class Object
- Parameters:
obj - Object
- Returns:
- true only if artifact/scope are the same in both.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2014. All Rights Reserved.