Skip to content
Snippets Groups Projects
Commit 2e32b576 authored by cramakri's avatar cramakri
Browse files

Renamed imageUrl to imageUrlString.

SVN: 27451
parent ed800460
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
@property (nonatomic, retain) NSString * summary; @property (nonatomic, retain) NSString * summary;
@property (nonatomic, retain) NSString * identifier; @property (nonatomic, retain) NSString * identifier;
@property (nonatomic, retain) NSString * category; @property (nonatomic, retain) NSString * category;
@property (nonatomic, retain) NSString * imageUrl; @property (nonatomic, retain) NSString * imageUrlString;
@property (nonatomic, retain) NSString * childrenPermIdsJson; @property (nonatomic, retain) NSString * childrenPermIdsJson;
@property (readonly) NSArray * childrenPermIds; @property (readonly) NSArray * childrenPermIds;
...@@ -59,8 +59,6 @@ ...@@ -59,8 +59,6 @@
@property (nonatomic, retain) NSNumber * rootLevel; @property (nonatomic, retain) NSNumber * rootLevel;
///! The image contained at the imageUrl or nil if there is no image. Could be a UIImage or CIImage depending on the platform.
@property (nonatomic, strong) id image;
// Actions // Actions
//! Take the values from the raw entity. //! Take the values from the raw entity.
......
...@@ -41,15 +41,13 @@ id ObjectFromJsonData(NSString *jsonData, NSError **error) ...@@ -41,15 +41,13 @@ id ObjectFromJsonData(NSString *jsonData, NSError **error)
@dynamic permId; @dynamic permId;
@dynamic refconJson; @dynamic refconJson;
@dynamic category; @dynamic category;
@dynamic imageUrl; @dynamic imageUrlString;
@dynamic childrenPermIdsJson; @dynamic childrenPermIdsJson;
@dynamic propertiesJson; @dynamic propertiesJson;
@dynamic rootLevel; @dynamic rootLevel;
@dynamic serverUrlString; @dynamic serverUrlString;
@dynamic lastUpdateDate; @dynamic lastUpdateDate;
@synthesize image;
- (void)setRefconJson:(NSString *)refconJson - (void)setRefconJson:(NSString *)refconJson
{ {
// Update the object value as well. // Update the object value as well.
...@@ -141,7 +139,7 @@ id ObjectFromJsonData(NSString *jsonData, NSError **error) ...@@ -141,7 +139,7 @@ id ObjectFromJsonData(NSString *jsonData, NSError **error)
if (rawEntity.summary) self.summary = rawEntity.summary; if (rawEntity.summary) self.summary = rawEntity.summary;
if (rawEntity.children) self.childrenPermIdsJson = rawEntity.children; if (rawEntity.children) self.childrenPermIdsJson = rawEntity.children;
if (rawEntity.identifier) self.identifier = rawEntity.identifier; if (rawEntity.identifier) self.identifier = rawEntity.identifier;
if (rawEntity.imageUrl) self.imageUrl = rawEntity.imageUrl; if (rawEntity.imageUrl) self.imageUrlString = rawEntity.imageUrl;
if (rawEntity.properties) self.propertiesJson = rawEntity.properties; if (rawEntity.properties) self.propertiesJson = rawEntity.properties;
if (rawEntity.rootLevel) { if (rawEntity.rootLevel) {
BOOL rootLevel = [rawEntity.rootLevel length] > 0; BOOL rootLevel = [rawEntity.rootLevel length] > 0;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<attribute name="childrenPermIds" optional="YES" transient="YES" syncable="YES"/> <attribute name="childrenPermIds" optional="YES" transient="YES" syncable="YES"/>
<attribute name="childrenPermIdsJson" optional="YES" attributeType="String" indexed="YES" syncable="YES"/> <attribute name="childrenPermIdsJson" optional="YES" attributeType="String" indexed="YES" syncable="YES"/>
<attribute name="identifier" optional="YES" attributeType="String" indexed="YES" syncable="YES"/> <attribute name="identifier" optional="YES" attributeType="String" indexed="YES" syncable="YES"/>
<attribute name="imageUrl" optional="YES" attributeType="String" syncable="YES"/> <attribute name="imageUrlString" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="lastUpdateDate" optional="YES" attributeType="Date" indexed="YES" syncable="YES"/> <attribute name="lastUpdateDate" optional="YES" attributeType="Date" indexed="YES" syncable="YES"/>
<attribute name="permId" optional="YES" attributeType="String" indexed="YES" syncable="YES"/> <attribute name="permId" optional="YES" attributeType="String" indexed="YES" syncable="YES"/>
<attribute name="properties" optional="YES" transient="YES" syncable="YES"/> <attribute name="properties" optional="YES" transient="YES" syncable="YES"/>
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
<fetchRequest name="EntityAndChildren" entity="CISDOBIpadEntity" predicateString="SELF == $ENTITY OR permId IN $CHILDREN" fetchBatchSize="20"/> <fetchRequest name="EntityAndChildren" entity="CISDOBIpadEntity" predicateString="SELF == $ENTITY OR permId IN $CHILDREN" fetchBatchSize="20"/>
<fetchRequest name="RootEntities" entity="CISDOBIpadEntity" predicateString="rootLevel == 0" fetchBatchSize="20"/> <fetchRequest name="RootEntities" entity="CISDOBIpadEntity" predicateString="rootLevel == 0" fetchBatchSize="20"/>
<elements> <elements>
<element name="CISDOBIpadEntity" positionX="0" positionY="0" width="128" height="270"/> <element name="CISDOBIpadEntity" positionX="0" positionY="0" width="0" height="0"/>
</elements> </elements>
</model> </model>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment