Class GroupInfoLight
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.application.GroupInfoLight
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GroupInfo
public class GroupInfoLight extends Object implements Serializable
Wrapper for entity class GroupProfile. This light version has the basic info necessary to display in a table or list. Members of each group can be retrieved querying for a UserGroupInfo object- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
creationDate
Object's creation date.protected String
description
UserGroup's descriptionprotected long
id
Object idprotected String
name
UserGroup's name
-
Constructor Summary
Constructors Constructor Description GroupInfoLight()
GroupInfoLight(GroupProfileLight group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCreationDate()
String
getDescription()
long
getId()
String
getName()
void
setCreationDate(long creationDate)
void
setDescription(String description)
void
setId(long id)
void
setName(String name)
-
-
-
Field Detail
-
id
protected long id
Object id
-
name
protected String name
UserGroup's name
-
creationDate
protected long creationDate
Object's creation date. Since there's no a seamless map for java.util.Date (xsd:date has less information than Date, so it's mapped into Calendar), we use a long instead (a timestamp)
-
description
protected String description
UserGroup's description
-
-
Constructor Detail
-
GroupInfoLight
public GroupInfoLight()
-
GroupInfoLight
public GroupInfoLight(GroupProfileLight group)
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getCreationDate
public long getCreationDate()
-
setCreationDate
public void setCreationDate(long creationDate)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
-