public ResourceType getResourceType(String qualifier) {
return get(ResourceTypes.class).get(qualifier);
}
public String getResourceTypeStringProperty(String resourceTypeQualifier, String resourceTypeProperty) {
ResourceType resourceType = getResourceType(resourceTypeQualifier);
if (resourceType != null) {
return resourceType.getStringProperty(resourceTypeProperty);
}
return null;
}