public class Category extends Object implements Serializable
Constructor and Description |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String name,
Object value)
Takes in any additional attributes passed in the request not matching any defined properties.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<String,Object> |
getAttribute()
Return any additional attributes passed in the request not matching any defined properties.
|
Map<String,Object> |
getAttributes()
Map holding any additional attributes passed in the request not matching any defined
properties.
|
String |
getId()
The primary id of the category.
|
String |
getName()
The name of the category.
|
String |
getUrl()
The url of the category.
|
int |
hashCode() |
void |
setAttributes(Map<String,Object> attributes)
Map holding any additional attributes passed in the request not matching any defined
properties.
|
void |
setId(String id)
The primary id of the category.
|
void |
setName(String name)
The name of the category.
|
void |
setUrl(String url)
The url of the category.
|
String |
toString() |
public void addAttribute(String name, Object value)
name
- Name of the additional attributevalue
- Value of the additional attributepublic Map<String,Object> getAttribute()
public String getId()
public String getName()
public String getUrl()
public Map<String,Object> getAttributes()
public void setId(String id)
id
- The primary id of the category.public void setName(String name)
name
- The name of the category.public void setUrl(String url)
url
- The url of the category.public void setAttributes(Map<String,Object> attributes)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.