Package cz.metacentrum.perun.core.api
Class BanOnVo
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.core.api.Auditable
cz.metacentrum.perun.core.api.Ban
cz.metacentrum.perun.core.api.BanOnVo
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
- Author:
- Vojtech Sassmann invalid input: '<'vojtech.sassmann@gmail.com>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Id of subject who is banned on target.int
Id of target where subject is banned on.getType()
Class name of specific ban.int
getVoId()
void
setMemberId
(int memberId) void
setVoId
(int voId) toString()
Methods inherited from class cz.metacentrum.perun.core.api.Ban
compareTo, equals, getDescription, getValidityTo, getValidityToAsLong, hashCode, serializeToString, setDescription, setValidityTo
Methods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUid
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
getBeanName, getId, setId
-
Constructor Details
-
BanOnVo
public BanOnVo() -
BanOnVo
-
-
Method Details
-
getMemberId
public int getMemberId() -
setMemberId
public void setMemberId(int memberId) -
getSubjectId
public int getSubjectId()Description copied from class:Ban
Id of subject who is banned on target.- Specified by:
getSubjectId
in classBan
- Returns:
- id of affected subject
-
getTargetId
public int getTargetId()Description copied from class:Ban
Id of target where subject is banned on.- Specified by:
getTargetId
in classBan
- Returns:
- id of affected target
-
getType
Description copied from class:Ban
Class name of specific ban. -
getVoId
public int getVoId() -
setVoId
public void setVoId(int voId) -
toString
-