Class PolarisResource<A extends PolarisAttributes>
- java.lang.Object
-
- com.blackduck.integration.util.Stringable
-
- com.blackduck.integration.polaris.common.api.PolarisResponse
-
- com.blackduck.integration.polaris.common.api.PolarisResource<A>
-
- All Implemented Interfaces:
Serializable
public class PolarisResource<A extends PolarisAttributes> extends PolarisResponse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolarisResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
A
getAttributes()
String
getId()
String
getType()
int
hashCode()
void
setAttributes(A attributes)
void
setId(String id)
void
setType(String type)
-
Methods inherited from class com.blackduck.integration.polaris.common.api.PolarisResponse
getJson, setJson
-
-
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getAttributes
public A getAttributes()
-
setAttributes
public void setAttributes(A attributes)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPolarisResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPolarisResponse
-
-