Class Group

    • Constructor Detail

      • Group

        public Group()
        Constructors
      • Group

        public Group​(java.lang.Long id)
    • Method Detail

      • setName

        public Group setName​(java.lang.String name)
        Provide an 'override' of setName (returns Group not NamedModel)
        Overrides:
        setName in class NamedModel<java.lang.Long>
        Parameters:
        name - the new name
      • getDescription

        public java.lang.String getDescription()
        Returns:
        the description of the group
      • setDescription

        public Group setDescription​(java.lang.String description)
        Parameters:
        description - the description to set
      • getOwner

        public java.lang.String getOwner()
        Returns:
        the email address of the owner
      • setOwner

        public Group setOwner​(java.lang.String owner)
        Parameters:
        owner - the owner email address to set
      • getOwnerId

        public java.lang.Long getOwnerId()
        Returns:
        the id of the owner of the group.
      • setOwnerId

        public Group setOwnerId​(java.lang.Long ownerId)
        Parameters:
        ownerId - the owner Id to set
      • getCreatedAt

        public java.util.Date getCreatedAt()
        Returns:
        the createdAt Date
      • setCreatedAt

        public Group setCreatedAt​(java.util.Date createdAt)
        Parameters:
        createdAt - the createdAt Date to set
      • getModifiedAt

        public java.util.Date getModifiedAt()
        Returns:
        the modifiedAt Date
      • setModifiedAt

        public Group setModifiedAt​(java.util.Date modifiedAt)
        Parameters:
        modifiedAt - the modifiedAt Date to set
      • getMembers

        public java.util.List<GroupMember> getMembers()
        Returns:
        the List of Groups
      • setMembers

        public Group setMembers​(java.util.List<GroupMember> members)
        Parameters:
        members - the List of Users to set