Revision 023f6f1e src/gr/ebs/gss/server/domain/UserClass.java

b/src/gr/ebs/gss/server/domain/UserClass.java
114 114
	}
115 115

  
116 116
	/**
117
	 * Return a new Data Transfer Object for this user class.
118
	 *
119
	 * @return a new DTO with the same contents as this object
120
	 */
121
	public UserClassDTO getDTOWithoutUsers() {
122
		UserClassDTO u = new UserClassDTO();
123
		u.setId(id);
124
		u.setName(name);
125
		u.setQuota(quota);
126
		return u;
127
	}
128

  
129
	/**
117 130
	 * Return the quota size in a humanly readable form.
118 131
	 */
119 132
	public String getQuotaAsString() {

Also available in: Unified diff