com.tteky.xenonext.jaxrs.reflect.ParamMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xenon-ext-jaxrs Show documentation
Show all versions of xenon-ext-jaxrs Show documentation
JAX-RS annotation processing capability for Xenon Stateless services and Service client.
The newest version!
package com.tteky.xenonext.jaxrs.reflect;
/**
* POJO to hold info about method params
*/
public class ParamMetadata implements Comparable {
private String name;
private int parameterIndex;
private Type type;
private Class> paramterType;
public enum Type {
PATH, QUERY, BODY, OPERATION, HEADER, COOKIE
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getParameterIndex() {
return parameterIndex;
}
public void setParameterIndex(int parameterIndex) {
this.parameterIndex = parameterIndex;
}
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
public Class> getParamterType() {
return paramterType;
}
public void setParamterType(Class> paramterType) {
this.paramterType = paramterType;
}
@Override
public int compareTo(ParamMetadata other) {
return Integer.compare(this.parameterIndex, other.parameterIndex);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy