diff --git a/templates/machine.h.motemplate b/templates/machine.h.motemplate index 613b46f5..b3d55db2 100644 --- a/templates/machine.h.motemplate +++ b/templates/machine.h.motemplate @@ -62,12 +62,14 @@ @interface _<$managedObjectClassName$> (CoreDataGeneratedPrimitiveAccessors) <$foreach Attribute noninheritedAttributes do$> +<$if Attribute.hasDefinedAttributeType$> - (<$Attribute.objectAttributeType$>*)primitive<$Attribute.name.initialCapitalString$>; - (void)setPrimitive<$Attribute.name.initialCapitalString$>:(<$Attribute.objectAttributeType$>*)value; <$if Attribute.hasScalarAttributeType$> - (<$Attribute.scalarAttributeType$>)primitive<$Attribute.name.initialCapitalString$>Value; - (void)setPrimitive<$Attribute.name.initialCapitalString$>Value:(<$Attribute.scalarAttributeType$>)value_; <$endif$> +<$endif$> <$endforeach do$> <$foreach Relationship noninheritedRelationships do$> <$if Relationship.isToMany$>