setIsFileable(true);
setIsFulltextIndexed(false);
setIsIncludedInSupertypeQuery(true);
setIsQueryable(false);
TypeMutabilityImpl typeMutability = new TypeMutabilityImpl();
typeMutability.setCanCreate(true);
typeMutability.setCanDelete(!isBaseType);
typeMutability.setCanUpdate(!isBaseType);
setTypeMutability (typeMutability);
// set base properties
Map<String, PropertyDefinition<?>> props = new HashMap<String, PropertyDefinition<?>>();