it.eng.rdlab.um.ldap.role.bean
Class LdapRoleModel

java.lang.Object
  extended by it.eng.rdlab.um.beans.GenericModel
      extended by it.eng.rdlab.um.role.beans.RoleModel
          extended by it.eng.rdlab.um.ldap.role.bean.LdapRoleModel
All Implemented Interfaces:
LdapModelConstants

public class LdapRoleModel
extends it.eng.rdlab.um.role.beans.RoleModel
implements LdapModelConstants

Author:
Ermanno Travaglino

Field Summary
static String DESCRIPTION
           
static String OBJECT_CLASS_ROLE
           
static String ROLE_CN
           
static String ROLE_OCCUPANT
           
 
Fields inherited from interface it.eng.rdlab.um.ldap.LdapModelConstants
OBJECT_CLASS_TOP, OBJECT_CLASSES
 
Constructor Summary
LdapRoleModel()
           
LdapRoleModel(it.eng.rdlab.um.role.beans.RoleModel roleModel)
           
LdapRoleModel(String roleDN, String roleCN, String description, List<String> objectClasses)
           
 
Method Summary
 void addExtraAttribute(String name, String value)
           
 void addObjectClass(String objectClassName)
           
 void addRoleOccupantDN(String roleOccupantDN)
           
 String getDN()
           
 List<String> getObjectClasses()
           
 List<String> getRoleOccupantDNS()
           
 void setDN(String roleDN)
           
 
Methods inherited from class it.eng.rdlab.um.role.beans.RoleModel
getDescription, getRoleId, getRoleName, setDescription, setRoleId, setRoleName
 
Methods inherited from class it.eng.rdlab.um.beans.GenericModel
addObject, getId, getObject, getObjectMap, getStringObject, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_CLASS_ROLE

public static final String OBJECT_CLASS_ROLE
See Also:
Constant Field Values

ROLE_OCCUPANT

public static final String ROLE_OCCUPANT
See Also:
Constant Field Values

ROLE_CN

public static final String ROLE_CN
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

LdapRoleModel

public LdapRoleModel()

LdapRoleModel

public LdapRoleModel(it.eng.rdlab.um.role.beans.RoleModel roleModel)

LdapRoleModel

public LdapRoleModel(String roleDN,
                     String roleCN,
                     String description,
                     List<String> objectClasses)
Method Detail

setDN

public void setDN(String roleDN)

getDN

public String getDN()

getObjectClasses

public List<String> getObjectClasses()

addObjectClass

public void addObjectClass(String objectClassName)

addRoleOccupantDN

public void addRoleOccupantDN(String roleOccupantDN)

getRoleOccupantDNS

public List<String> getRoleOccupantDNS()

addExtraAttribute

public void addExtraAttribute(String name,
                              String value)


Copyright © 2013. All Rights Reserved.