fixing hasPrimitiveValue across the versions for HAPI
This commit is contained in:
parent
17436ea543
commit
ee0a32b6ab
|
@ -160,4 +160,5 @@ public abstract class PrimitiveType<T> extends Type implements IPrimitiveType<T>
|
|||
return b.isEquals();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -208,5 +208,9 @@ public abstract class PrimitiveType<T> extends Type implements IPrimitiveType<T>
|
|||
} else
|
||||
return super.getProperty(hash, name, checkValid);
|
||||
}
|
||||
@Override
|
||||
public boolean hasPrimitiveValue() {
|
||||
return StringUtils.isNotBlank(getValueAsString());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -233,4 +233,10 @@ public abstract class PrimitiveType<T> extends Type implements IPrimitiveType<T>
|
|||
protected void forceStringValue(String value) {
|
||||
myStringValue = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasPrimitiveValue() {
|
||||
return StringUtils.isNotBlank(getValueAsString());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -233,4 +233,9 @@ public abstract class PrimitiveType<T> extends Type implements IPrimitiveType<T>
|
|||
protected void forceStringValue(String value) {
|
||||
myStringValue = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasPrimitiveValue() {
|
||||
return StringUtils.isNotBlank(getValueAsString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue