Class Solution
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.solution.Solution
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLibraryClient(LibraryClient libraryClient) voidvoidvoidvoidvoidvoidbooleangetPeps()getPips()getPxps()getUsers()inthashCode()voidremoveLibraryClient(LibraryClient libraryClient) voidvoidvoidvoidvoidremoveTimer(Timer t) voidremoveUser(User u) voidsetLibraryClients(Set<LibraryClient> libraryClients) voidsetPeps(Set<PepComponentInformation> peps) voidsetPips(Set<PipComponentInformation> pips) voidsetPolicies(Set<Policy> policies) voidsetPxps(Set<PxpComponentInformation> pxps) voidsetSolutionId(SolutionId sid) voidsetSolutionId(String urn) voidvoidMethods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
Constructor Details
-
Solution
public Solution()required by JPA -
Solution
- Parameters:
sid- : the solutionid for this solution. It can not be null.
-
-
Method Details
-
setSolutionId
- Parameters:
sid- : the solutionid for this solution. It can not be null.
-
setSolutionId
- Parameters:
urn- : the solutionid as a string for this solution. It can not be null.
-
getUsers
- Returns:
- the list of users for the current solution
-
setUsers
- Parameters:
users- : the list of users to be set to the current solution. It can not be null.
-
getPolicies
- Returns:
- the list of policies for the current solution
-
setPolicies
- Parameters:
policies- : the list of policies to be set to the current solution. It can not be null.
-
getTimers
- Returns:
- the list of timers for the current solution
-
setTimers
- Parameters:
timers- : the list of timers to be set to the current solution. It can not be null.
-
getPips
- Returns:
- the list of PIPs for the current solution
-
setPips
- Parameters:
pips- : the list of PIPs to be set to the current solution. It can not be null.
-
getPeps
- Returns:
- the list of PEPs for the current solution
-
setPeps
- Parameters:
peps- : the list of PEPs to be set to the current solution. It can not be null.
-
getPxps
- Returns:
- the list of PXPs for the current solution
-
setPxps
- Parameters:
pxps- : the list of PXPs to be set to the current solution. It can not be null.
-
getLockStatus
- Returns:
- true if solutions is locked, false otherwise
-
isSolutionLocked
- Returns:
- true if solution is locked, false otherwise
-
addPxpComponentInformation
- Parameters:
component- : add a PXP to the current solution. It can not be null.
-
removePxpComponentInformation
- Parameters:
component- : remove a PXP from the current solution. It can not be null.
-
addPepComponentInformation
- Parameters:
component- : add a PEP to the current solution. It can not be null.
-
removePepComponentInformation
- Parameters:
component- : remove a PEP from the current solution. It can not be null.
-
addPipComponentInformation
- Parameters:
component- : add a PIP to the current solution. It can not be null.
-
removePipComponentInformation
- Parameters:
component- : remove a PIP from the current solution. It can not be null.
-
addPolicy
- Parameters:
p- : add a Policy to the current solution. It can not be null.
-
removePolicy
- Parameters:
p- : remove a policy from the current solution. It can not be null.
-
addTimer
- Parameters:
t- : add a timer to the current solution. It can not be null.
-
removeTimer
- Parameters:
t- : remove a timer from the current solution. It can not be null.
-
addUser
- Parameters:
u- : add an user to the current solution. It can not be null.
-
removeUser
- Parameters:
u- : remove an user from the current solution. It can not be null.
-
getLibraryClients
- Returns:
- the list of clients for the current solution
-
setLibraryClients
- Parameters:
libraryClients- : the list of clients to be set to the current solution. It can not be null.
-
addLibraryClient
- Parameters:
libraryClient- add a library cliuent to the this solution. It can not be null.
-
removeLibraryClient
- Parameters:
libraryClient- remove a library client from this solution. It can not be null.
-
equals
-
hashCode
public int hashCode()
-