/** * Sets the feature value. * * @param fd the fd * @param td the td * @return the string */ String setFeatureValue(FeatureDescription fd, TypeDescription td) { return simpleCore("set", getGetSetNamePart(fd), fd.getName()); }
/** * Gets the feature value. * * @param fd the fd * @param td the td * @return the feature value */ String getFeatureValue(FeatureDescription fd, TypeDescription td) { String getSetNamePart = getGetSetNamePart(fd); String core = simpleCore("get", getSetNamePart, fd.getName()); return castResult(getJavaRangeType(fd), core); }