Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.dto.team;
  
  
 
 @Table(name = "teammemberinfo")
 public class TeamMemberInfo extends OriannaDto {
     private static final long serialVersionUID = -8383019016544221742L;
     @Id
     @GeneratedValue(strategy = .)
     private long dbId;
     private Long inviteDatejoinDateplayerId;
 
     private String status;
 
     /*
      * (non-Javadoc)
      * @see java.lang.Object#equals(java.lang.Object)
      */
     @Override
     public boolean equals(final Object obj) {
         if(this == obj) {
             return true;
         }
         if(obj == null) {
             return false;
         }
         if(!(obj instanceof TeamMemberInfo)) {
             return false;
         }
         final TeamMemberInfo other = (TeamMemberInfo)obj;
         if( == null) {
             if(other.inviteDate != null) {
                 return false;
             }
         }
         else if(!.equals(other.inviteDate)) {
             return false;
         }
         if( == null) {
             if(other.joinDate != null) {
                 return false;
             }
         }
         else if(!.equals(other.joinDate)) {
             return false;
         }
         if( == null) {
             if(other.playerId != null) {
                 return false;
             }
         }
         else if(!.equals(other.playerId)) {
             return false;
         }
         if( == null) {
             if(other.status != null) {
                 return false;
             }
         }
         else if(!.equals(other.status)) {
             return false;
         }
         return true;
     }
 
     @Override
     public String getDataStoreIndexField(final Class<?> keyType) {
         if(keyType.equals(Long.class)) {
             return "dbId";
         }
         return null;
     }

    

Returns:
the inviteDate
 
     public Long getInviteDate() {
         return ;
     }

    

Returns:
the joinDate
 
     public Long getJoinDate() {
         return ;
     }

    

Returns:
the playerId
 
     public Long getPlayerId() {
         return ;
    }

    

Returns:
the status
    public String getStatus() {
        return ;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        return result;
    }

    

Parameters:
inviteDate the inviteDate to set
    public void setInviteDate(final Long inviteDate) {
        this. = inviteDate;
    }

    

Parameters:
joinDate the joinDate to set
    public void setJoinDate(final Long joinDate) {
        this. = joinDate;
    }

    

Parameters:
playerId the playerId to set
    public void setPlayerId(final Long playerId) {
        this. = playerId;
    }

    

Parameters:
status the status to set
    public void setStatus(final String status) {
        this. = status;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "TeamMemberInfo [inviteDate=" +  + ", joinDate=" +  + ", playerId=" +  + ", status=" +  + "]";
    }
New to GrepCode? Check out our FAQ X