package org.openur.module.domain.userstructure.technicaluser;

import org.openur.module.domain.userstructure.IUserStructureBase;

public interface ITechnicalUser
	extends IUserStructureBase, Comparable<ITechnicalUser>
{
	// only a marker-interface at the moment. May change in the future.
}

@@ -58,16 +58,75 @@
 ser;%0D%0A%0D%0A
+import org.apache.commons.lang3.builder.CompareToBuilder;%0D%0A
 import o
@@ -288,71 +288,261 @@
 // o
-nly a marker-interface at the moment. May change in the future.
+perations:%0D%0A%09default int compareTo(ITechnicalUser other)%0D%0A%09%7B%0D%0A%09%09int comparison = new CompareToBuilder()%0D%0A%09%09%09%09.append(this.getNumber(), other.getNumber())%0D%0A%09%09%09%09.append(this.getStatus(), other.getStatus())%0D%0A%09%09%09%09.toComparison();%0D%0A%0D%0A%09%09return comparison;%0D%0A%09%7D
 %0D%0A%7D%0D

add compareTo-default-method