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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintId of subject who is banned on target.intId of target where subject is banned on.getType()Class name of specific ban.intgetVoId()voidsetMemberId(int memberId) voidsetVoId(int voId) toString()Methods inherited from class cz.metacentrum.perun.core.api.Ban
compareTo, equals, getDescription, getValidityTo, getValidityToAsLong, hashCode, serializeToString, setDescription, setValidityToMethods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUidMethods 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:BanId of subject who is banned on target.- Specified by:
getSubjectIdin classBan- Returns:
- id of affected subject
-
getTargetId
public int getTargetId()Description copied from class:BanId of target where subject is banned on.- Specified by:
getTargetIdin classBan- Returns:
- id of affected target
-
getType
Description copied from class:BanClass name of specific ban. -
getVoId
public int getVoId() -
setVoId
public void setVoId(int voId) -
toString
-