|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.DataObjectBase org.kuali.rice.kim.impl.group.GroupBase
@MappedSuperclass public abstract class GroupBase
Field Summary | |
---|---|
protected Map<String,String> |
attributes
|
Fields inherited from class org.kuali.rice.krad.bo.DataObjectBase |
---|
objectId, versionNumber |
Constructor Summary | |
---|---|
GroupBase()
|
Method Summary | |
---|---|
Map<String,String> |
getAttributes()
This is a set of Attributes for a Group. |
String |
getDescription()
This a description for the Group. |
String |
getKimTypeId()
This a Kim Type Id for the Group. |
KimTypeBo |
getKimTypeInfo()
|
String |
getName()
This is the name for the Group. |
String |
getNamespaceCode()
This is the namespace code for the Group. |
boolean |
isActive()
The active indicator for an object. |
void |
refresh()
Invoked to refresh business objects related to the parent based on their key field values |
void |
setActive(boolean active)
|
void |
setAttributes(Map<String,String> attributes)
|
void |
setDescription(String description)
|
void |
setKimTypeId(String kimTypeId)
|
void |
setName(String name)
|
void |
setNamespaceCode(String namespaceCode)
|
Methods inherited from class org.kuali.rice.krad.bo.DataObjectBase |
---|
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.kim.framework.group.GroupEbo |
---|
getId, getObjectId, getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Field Detail |
---|
protected Map<String,String> attributes
Constructor Detail |
---|
public GroupBase()
Method Detail |
---|
public Map<String,String> getAttributes()
GroupEbo
This is a set of attributes which are key-label pairs that are defined by the Group's Kim Type.
getAttributes
in interface GroupContract
getAttributes
in interface GroupEbo
public void setAttributes(Map<String,String> attributes)
public String getName()
GroupEbo
This is a name assigned to a Group. Together with NamespaceCode, it makes up another unique identifier for Group
getName
in interface GroupContract
getName
in interface GroupEbo
public void setName(String name)
public String getDescription()
GroupEbo
This is a description assigned to a Group.
getDescription
in interface GroupContract
getDescription
in interface GroupEbo
public void setDescription(String description)
public boolean isActive()
GroupEbo
isActive
in interface Inactivatable
isActive
in interface GroupEbo
public void setActive(boolean active)
public String getKimTypeId()
GroupEbo
This links a Kim Type to the Group to allow custom types of Groups.
getKimTypeId
in interface GroupContract
getKimTypeId
in interface GroupEbo
public void setKimTypeId(String kimTypeId)
public String getNamespaceCode()
GroupEbo
This is a namespace code assigned to a Group. Together with name, it makes up another unique identifier for Group
getNamespaceCode
in interface GroupContract
getNamespaceCode
in interface GroupEbo
public void setNamespaceCode(String namespaceCode)
public KimTypeBo getKimTypeInfo()
public void refresh()
BusinessObject
During processing (for example accepting user input) the field values that participate in relationships can become out of sync with the related business objects (for example: suppose our business object has a property name bookId with a related object of type Book that contains the id property. If the user changes the value for the bookId property, our id property on the related book and the associated information is still pointing to the previous book id). This method is invoked to indicate the related objects should be refreshed based on their related keys. For @{link PersistableBusinessObject} implementations, most refreshes can be handled by the ORM tool
refresh
in interface BusinessObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |