Role.java
/*
* @ Copyright 2001 FA Software;
* All right reserved. No part of this program may be reproduced or
* transmitted in any form or by any means, electronic or
* mechanical, including photocopying, recording, or by any
* information storage or retrieval system without written
* permission from FA Software, except for inclusion of brief
* quotations in a review.
*/
package com.mycim.valueobject.security;
import com.mycim.valueobject.bas.NamedObject;
import java.util.ArrayList;
import java.util.Collection;
public class Role extends NamedObject {
// --------------------------------------------------------- Instance Variables
private Collection groups = new ArrayList();
// --------------------------------------------------------- Consturctors
public Role() {
}
public Role(String instanceId, String namedSpace, String object) {
super(instanceId, namedSpace, object);
}
public Role(Long roleRrn, String roleId){
this.instanceRrn = roleRrn;
this.instanceId = roleId;
}
// --------------------------------------------------------- Properties
public Collection getGroups() {
return this.groups;
}
public void setGroups(Collection groups) {
this.groups = groups;
}
}
/*
* Modification Log Log No : Name : Modified Date: Description :
*/