updateFromFacetValues();
}
}
private void addNamedFacetAndPluralFacetIfRequired() {
NamedFacet namedFacet = getFacet(NamedFacet.class);
if (namedFacet == null) {
namedFacet = new NamedFacetInferred(StringExtensions.asNaturalName2(getShortIdentifier()), this);
addFacet(namedFacet);
}
PluralFacet pluralFacet = getFacet(PluralFacet.class);
if (pluralFacet == null) {
pluralFacet = new PluralFacetInferred(StringExtensions.asPluralName(namedFacet.value()), this);
addFacet(pluralFacet);
}
}