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()
Company
public void setCompany(Company c)
c
- the given Company
instanceCompany
public Company getCompany(java.lang.String comID)
Company
with the specified
company idcomID
- the given company idCompany
Company
public 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)Company
public java.util.Vector getAllCompanys()
Vector
is Company
instance)Company
public java.util.TreeMap getComMap()
TreeMap
instance. {key : value = company id :
Company
instance}Company
public void setComMap(java.util.TreeMap map)
map
- the given TreeMap
instance. {key : value =
company id : Company
instance}Company
public Department getDepartment(java.lang.String depID)
Department
with the specified
department iddepID
- the given department idDepartment
Department
public 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)Department
public java.util.Vector getAllDepartment()
Vector
is Department
instance)Department
public java.util.TreeMap getDepMap()
TreeMap
instance. {key : value = department id :
Department
instance}Department
public void setDepMap(java.util.TreeMap map)
map
- the given TreeMap
instance. {key : value =
department id : Department
instance}Department
public Role getRole(java.lang.String rolID)
Role
with the specified role idrolID
- the given role idRole
instanceRole
public 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)Role
public java.util.Vector getAllRole()
Vector
is the Role
instance)Role
public java.util.TreeMap getRolMap()
TreeMap
instance. {key : value = role id :
Role
instance}Role
public void setRolMap(java.util.TreeMap map)
map
- the given TreeMap
instance. {key : value = role
id : Role
instance}Role
public MemberRecord getMemberRecord(java.lang.String memID)
MemberRecord
with the specified member
idmemID
- the given member idMemberRecord
instanceMemberRecord
public java.util.TreeMap getMemMap()
TreeMap
instance. {key : value = member id :
MemberRecord
instance}MemberRecord
public void setMemMap(java.util.TreeMap map)
map
- the given TreeMap
instance. {key : value =
member id : MemberRecord
instance}MemberRecord
public java.util.Vector getMembers(java.util.Vector mbrIDList)
mbrIDList
- the given set of the specified member idVector
is the MemberRecord
instance)MemberRecord
public java.util.Vector getAllMember()
Vector
is the MemberRecord
instance)MemberRecord
public java.util.Vector getAllUnitType()
Vector
is the UnitType
instance)UnitType
public UnitType getUnitType(java.lang.String unitId)
UnitType
with the specified unit type
idunitId
- the given unit type idUnitType
instanceUnitType
public 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)UnitType
public void setUnitMap(java.util.TreeMap map)
map
- the given TreeMap
instance. {key : value = unit
type id : UnitType
instance}UnitType
public java.util.TreeMap getUnitMap()
TreeMap
instance. {key : value = unit type id :
UnitType
instance}UnitType
public PASEGroup getPASEGroup(java.lang.String groupID)
PASEGroup
with the specified
group idgroupID
- the given pase group idPASEGroup
PASEGroup
public 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)PASEGroup
public java.util.Vector getAllPASEGroup()
Vector
is PASEGroup
instance)PASEGroup
public java.util.TreeMap getPASEGroupMap()
TreeMap
instance. {key : value = PASEGroup id :
PASEGroup
instance}PASEGroup
public void setPASEGroupMap(java.util.TreeMap map)
map
- the given TreeMap
instance. {key : value =
PASEGroup id : PASEGroup
instance}PASEGroup
public java.lang.Object getHashKey()
public void update(java.lang.Object obj)
Copyright ? 2022. All Rights Reserved.