com.github.alittlehuang.data.query.support.model.AttributePathModel Maven / Gradle / Ivy
The newest version!
package com.github.alittlehuang.data.query.support.model;
import com.github.alittlehuang.data.query.specification.AttributePath;
import lombok.Data;
import java.io.Serializable;
@Data
public class AttributePathModel implements AttributePath, Serializable {
protected String[] names;
public AttributePathModel() {
}
public AttributePathModel(AttributePath expression, Class extends T> javaType) {
names = expression.getNames(javaType);
}
@Override
public String[] getNames(Class extends T> type) {
return names;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy