org.snapscript.tree.define.MemberFieldData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.tree.define;
import org.snapscript.core.Evaluation;
import org.snapscript.core.constraint.Constraint;
public class MemberFieldData {
private final Constraint constraint;
private final Evaluation value;
private final String alias;
private final String name;
public MemberFieldData(String name, String alias, Constraint constraint, Evaluation value) {
this.constraint = constraint;
this.value = value;
this.alias = alias;
this.name = name;
}
public String getName() {
return name;
}
public String getAlias(){
return alias;
}
public Evaluation getValue() {
return value;
}
public Constraint getConstraint() {
return constraint;
}
}