org.jasig.portal.layout.dlm.remoting
Class JsonEntityBean
java.lang.Object
org.jasig.portal.layout.dlm.remoting.JsonEntityBean
- All Implemented Interfaces:
- Serializable
public class JsonEntityBean
- extends Object
- implements Serializable
Entity bean for JSON output. Used for categories, groups, and people.
- Author:
- Drew Mazurek
- See Also:
- Serialized Form
ENTITY_CATEGORY
public static final String ENTITY_CATEGORY
- See Also:
- Constant Field Values
ENTITY_CHANNEL
public static final String ENTITY_CHANNEL
- See Also:
- Constant Field Values
ENTITY_GROUP
public static final String ENTITY_GROUP
- See Also:
- Constant Field Values
ENTITY_PERSON
public static final String ENTITY_PERSON
- See Also:
- Constant Field Values
JsonEntityBean
public JsonEntityBean()
JsonEntityBean
public JsonEntityBean(ChannelCategory category)
JsonEntityBean
public JsonEntityBean(IGroupMember groupMember,
String entityType)
JsonEntityBean
public JsonEntityBean(IEntityGroup entityGroup,
String entityType)
getEntityType
public String getEntityType()
setEntityType
public void setEntityType(String entityType)
getId
public String getId()
setId
public void setId(String id)
getName
public String getName()
setName
public void setName(String name)
getCreatorId
public String getCreatorId()
setCreatorId
public void setCreatorId(String creatorId)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getChildren
public List getChildren()
setChildren
public void setChildren(List children)
addChild
public void addChild(Object child)
Convenience method to add a child to this object's list of
children.
- Parameters:
child - Object to add
isChildrenInitialized
public boolean isChildrenInitialized()
setChildrenInitialized
public void setChildrenInitialized(boolean childrenInitialized)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2010 Jasig. All Rights Reserved.