Class ProjectInvitation
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.project.ProjectInvitationParam
-
- pl.edu.icm.unity.engine.api.project.ProjectInvitation
-
public class ProjectInvitation extends ProjectInvitationParam
Holds information about project invitation.- Author:
- P.Piernik
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_TTL_DAYS
Instant
lastSentTime
String
link
int
numberOfSends
String
registrationCode
-
Fields inherited from class pl.edu.icm.unity.engine.api.project.ProjectInvitationParam
allowModifyGroups, contactAddress, expiration, groups, project
-
-
Constructor Summary
Constructors Constructor Description ProjectInvitation(String project, BaseForm form, InvitationWithCode org, String link)
-
-
-
Field Detail
-
DEFAULT_TTL_DAYS
public static final long DEFAULT_TTL_DAYS
- See Also:
- Constant Field Values
-
registrationCode
public final String registrationCode
-
lastSentTime
public final Instant lastSentTime
-
numberOfSends
public final int numberOfSends
-
link
public final String link
-
-
Constructor Detail
-
ProjectInvitation
public ProjectInvitation(String project, BaseForm form, InvitationWithCode org, String link) throws EngineException
- Throws:
EngineException
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classProjectInvitationParam
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classProjectInvitationParam
-
-