public class PASEOrgModel
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PASEOrgModel()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getAllCompanys()
Get the all companies
|
java.util.Vector |
getAllDepartment()
Get the all departments
|
java.util.Vector |
getAllMember()
Get all members
|
java.util.Vector |
getAllPASEGroup()
Get the all PASEGroups
|
java.util.Vector |
getAllRole()
Get all roles.
|
java.util.Vector |
getAllUnitType()
Get all unit types
|
java.util.TreeMap |
getComMap()
Get company map
|
Company |
getCompany()
Get company
|
Company |
getCompany(java.lang.String comID)
Get the instance of
Company with the specified
company id |
java.util.Vector |
getCompanys(java.util.Vector comIDList)
Get the instances of
Company with the set of specified
department id |
Department |
getDepartment(java.lang.String depID)
Get the instance of
Department with the specified
department id |
java.util.Vector |
getDepartments(java.util.Vector depIDList)
Get the instances of
Department with the set of specified
department id |
java.util.TreeMap |
getDepMap()
Get department map
|
java.lang.Object |
getHashKey() |
MemberRecord |
getMemberRecord(java.lang.String memID)
Get the instance of
MemberRecord with the specified member
id |
java.util.Vector |
getMembers(java.util.Vector mbrIDList)
Get the members with the set of the specified member id
|
java.util.TreeMap |
getMemMap()
Get the member map
|
PASEGroup |
getPASEGroup(java.lang.String groupID)
Get the instance of
PASEGroup with the specified
group id |
java.util.TreeMap |
getPASEGroupMap()
Get PASEGroup map
|
java.util.Vector |
getPASEGroups(java.util.Vector groupIDList)
Get the instances of
PASEGroup with the set of specified
PASEGroup id |
Role |
getRole(java.lang.String rolID)
Get instance of
Role with the specified role id |
java.util.Vector |
getRoles(java.util.Vector rolIDList)
Get the instances of
Role with the set of specified role
id |
java.util.TreeMap |
getRolMap()
Get role map
|
java.util.TreeMap |
getUnitMap()
Get the unit type map
|
UnitType |
getUnitType(java.lang.String unitId)
Get the instance of
UnitType with the specified unit type
id |
java.util.Vector |
getUnitTypes(java.util.Vector unitIdList)
Get the instances of
UnitType with the set of specified
unit type id |
void |
setComMap(java.util.TreeMap map)
Set the company map
|
void |
setCompany(Company c)
Set company
|
void |
setDepMap(java.util.TreeMap map)
Set the department map
|
void |
setMemMap(java.util.TreeMap map)
Set the member map
|
void |
setPASEGroupMap(java.util.TreeMap map)
Set the PASEGroup map
|
void |
setRolMap(java.util.TreeMap map)
Set role map
|
void |
setUnitMap(java.util.TreeMap map)
Set the unit type map
|
void |
update(java.lang.Object obj) |
public PASEOrgModel()
PASEOrgModel without
parameters.public Company getCompany()
Companypublic void setCompany(Company c)
c - the given Company instanceCompanypublic Company getCompany(java.lang.String comID)
Company with the specified
company idcomID - the given company idCompanyCompanypublic java.util.Vector getCompanys(java.util.Vector comIDList)
Company with the set of specified
department idcomIDList - the given set of company idVector is Company
instance)Companypublic java.util.Vector getAllCompanys()
Vector is Company
instance)Companypublic java.util.TreeMap getComMap()
TreeMap instance. {key : value = company id :
Company instance}Companypublic void setComMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
company id : Company instance}Companypublic Department getDepartment(java.lang.String depID)
Department with the specified
department iddepID - the given department idDepartmentDepartmentpublic java.util.Vector getDepartments(java.util.Vector depIDList)
Department with the set of specified
department iddepIDList - the given set of department idVector is Department
instance)Departmentpublic java.util.Vector getAllDepartment()
Vector is Department
instance)Departmentpublic java.util.TreeMap getDepMap()
TreeMap instance. {key : value = department id :
Department instance}Departmentpublic void setDepMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
department id : Department instance}Departmentpublic Role getRole(java.lang.String rolID)
Role with the specified role idrolID - the given role idRole instanceRolepublic java.util.Vector getRoles(java.util.Vector rolIDList)
Role with the set of specified role
idrolIDList - the given set of role idVector is the Role
instance)Rolepublic java.util.Vector getAllRole()
Vector is the Role
instance)Rolepublic java.util.TreeMap getRolMap()
TreeMap instance. {key : value = role id :
Role instance}Rolepublic void setRolMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value = role
id : Role instance}Rolepublic MemberRecord getMemberRecord(java.lang.String memID)
MemberRecord with the specified member
idmemID - the given member idMemberRecord instanceMemberRecordpublic java.util.TreeMap getMemMap()
TreeMap instance. {key : value = member id :
MemberRecord instance}MemberRecordpublic void setMemMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
member id : MemberRecord instance}MemberRecordpublic java.util.Vector getMembers(java.util.Vector mbrIDList)
mbrIDList - the given set of the specified member idVector is the MemberRecord
instance)MemberRecordpublic java.util.Vector getAllMember()
Vector is the MemberRecord
instance)MemberRecordpublic java.util.Vector getAllUnitType()
Vector is the UnitType
instance)UnitTypepublic UnitType getUnitType(java.lang.String unitId)
UnitType with the specified unit type
idunitId - the given unit type idUnitType instanceUnitTypepublic java.util.Vector getUnitTypes(java.util.Vector unitIdList)
UnitType with the set of specified
unit type idunitIdList - the given set of unit type idVector is UnitType
instance)UnitTypepublic void setUnitMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value = unit
type id : UnitType instance}UnitTypepublic java.util.TreeMap getUnitMap()
TreeMap instance. {key : value = unit type id :
UnitType instance}UnitTypepublic PASEGroup getPASEGroup(java.lang.String groupID)
PASEGroup with the specified
group idgroupID - the given pase group idPASEGroupPASEGrouppublic java.util.Vector getPASEGroups(java.util.Vector groupIDList)
PASEGroup with the set of specified
PASEGroup idPASEGroupIDList - the given set of PASEGroup idVector is PASEGroup
instance)PASEGrouppublic java.util.Vector getAllPASEGroup()
Vector is PASEGroup
instance)PASEGrouppublic java.util.TreeMap getPASEGroupMap()
TreeMap instance. {key : value = PASEGroup id :
PASEGroup instance}PASEGrouppublic void setPASEGroupMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
PASEGroup id : PASEGroup instance}PASEGrouppublic java.lang.Object getHashKey()
public void update(java.lang.Object obj)
Copyright ? 2022. All Rights Reserved.