Coverage Report - com.buckosoft.PicMan.domain.SyncServer
 
Classes in this File Line Coverage Branch Coverage Complexity
SyncServer
0%
0/32
N/A
1
 
 1  
 /******************************************************************************
 2  
  * SyncServer.java - Define the server side parameters for a sync operation
 3  
  * 
 4  
  * PicMan - The BuckoSoft Picture Manager in Java
 5  
  * Copyright(c) 2014 - Dick Balaska
 6  
  * 
 7  
  */
 8  
 package com.buckosoft.PicMan.domain;
 9  
 
 10  
 /** Define the server side parameters for a sync operation
 11  
  * @author Dick Balaska
 12  
  * @since 2014/05/31
 13  
  * @see <a href="http://cvs.buckosoft.com/Projects/PicMan/PicMan/src/main/java/com/buckosoft/PicMan/domain/SyncServer.java">SyncServer.java</a>
 14  
  */
 15  
 public class SyncServer {
 16  
         private        int                id;
 17  
         private        String        name;
 18  
         private        int                rid;
 19  
         private        int                sid;
 20  
         private        boolean        active;
 21  
         private        boolean        allowPush;
 22  
         private        boolean        allowPull;
 23  
         
 24  0
         public SyncServer() {
 25  0
         }
 26  
         
 27  0
         public SyncServer(int id, String name, int rid, int sid, boolean active, boolean allowPush, boolean allowPull) {
 28  0
                 this.id = id;
 29  0
                 this.name = name;
 30  0
                 this.rid = rid;
 31  0
                 this.sid = sid;
 32  0
                 this.active = active;
 33  0
                 this.allowPush = allowPush;
 34  0
                 this.allowPull = allowPull;
 35  0
         }
 36  
 
 37  
         /**
 38  
          * @return the id
 39  
          */
 40  
         public int getId() {
 41  0
                 return id;
 42  
         }
 43  
         /**
 44  
          * @param id the id to set
 45  
          */
 46  
         public void setId(int id) {
 47  0
                 this.id = id;
 48  0
         }
 49  
 
 50  
         /**
 51  
          * @return the name
 52  
          */
 53  
         public String getName() {
 54  0
                 return name;
 55  
         }
 56  
         /**
 57  
          * @param name the name to set
 58  
          */
 59  
         public void setName(String name) {
 60  0
                 this.name = name;
 61  0
         }
 62  
 
 63  
         /**
 64  
          * @return the rid
 65  
          */
 66  
         public int getRid() {
 67  0
                 return rid;
 68  
         }
 69  
         /**
 70  
          * @param rid the rid to set
 71  
          */
 72  
         public void setRid(int rid) {
 73  0
                 this.rid = rid;
 74  0
         }
 75  
 
 76  
         /**
 77  
          * @return the sid
 78  
          */
 79  
         public int getSid() {
 80  0
                 return sid;
 81  
         }
 82  
         /**
 83  
          * @param sid the sid to set
 84  
          */
 85  
         public void setSid(int sid) {
 86  0
                 this.sid = sid;
 87  0
         }
 88  
 
 89  
         /**
 90  
          * @return the active
 91  
          */
 92  
         public boolean isActive() {
 93  0
                 return active;
 94  
         }
 95  
         /**
 96  
          * @param active the active to set
 97  
          */
 98  
         public void setActive(boolean active) {
 99  0
                 this.active = active;
 100  0
         }
 101  
 
 102  
         /**
 103  
          * @return the allowPush
 104  
          */
 105  
         public boolean isAllowPush() {
 106  0
                 return allowPush;
 107  
         }
 108  
         /**
 109  
          * @param allowPush the allowPush to set
 110  
          */
 111  
         public void setAllowPush(boolean allowPush) {
 112  0
                 this.allowPush = allowPush;
 113  0
         }
 114  
 
 115  
         /**
 116  
          * @return the allowPull
 117  
          */
 118  
         public boolean isAllowPull() {
 119  0
                 return allowPull;
 120  
         }
 121  
         /**
 122  
          * @param allowPull the allowPull to set
 123  
          */
 124  
         public void setAllowPull(boolean allowPull) {
 125  0
                 this.allowPull = allowPull;
 126  0
         }
 127  
 }