Class Solution
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.solution.Solution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLibraryClient
(LibraryClient libraryClient) void
void
void
void
void
void
boolean
getPeps()
getPips()
getPxps()
getUsers()
int
hashCode()
void
removeLibraryClient
(LibraryClient libraryClient) void
void
void
void
void
removeTimer
(Timer t) void
removeUser
(User u) void
setLibraryClients
(Set<LibraryClient> libraryClients) void
setPeps
(Set<PepComponentInformation> peps) void
setPips
(Set<PipComponentInformation> pips) void
setPolicies
(Set<Policy> policies) void
setPxps
(Set<PxpComponentInformation> pxps) void
setSolutionId
(SolutionId sid) void
setSolutionId
(String urn) void
void
Methods 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()
-