package com.intuso.housemate.client.v1_0.api.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotate a method with this to create a command for your object. All arguments for the command
 * must have {@link Parameter} annotations
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Command {}

@@ -311,57 +311,149 @@
 the 
-command%0A * must have %7B@link Parameter%7D annotation
+method must have %7B@link Id%7D%0A * annotations and optionally a %7B@link Parameter%7D annotation to use restrictions or control min and max num value
 s%0A *

Update Command annotation javadoc