gcube-model/src/main/java/org/gcube/resourcemanagement/model/impl/properties/RegexPropertyImpl.java

45 lines
849 B
Java

package org.gcube.resourcemanagement.model.impl.properties;
import org.gcube.resourcemanagement.model.reference.properties.RegexProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* Implementation for {@link RegexProperty}.
*
* @author Manuele Simi (ISTI CNR)
*
*/
@JsonTypeName(value=RegexProperty.NAME)
public class RegexPropertyImpl extends GCubePropertyImpl implements RegexProperty {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -8279692341196771526L;
private String value;
private String type;
@Override
public String getValue() {
return this.value;
}
@Override
public void setValue(String value) {
this.value = value;
}
@Override
public String getType() {
return this.type;
}
@Override
public void setType(String type) {
this.type = type;
}
}