{ attributes = ( { allowsNull = Y; columnName = attachmentDataID; name = attachmentDataID; prototypeName = id; }, { allowsNull = N; columnName = available; name = available; prototypeName = boolean; }, { allowsNull = Y; columnName = configurationName; name = configurationName; prototypeName = varchar100; }, { allowsNull = N; columnName = creationDate; name = creationDate; prototypeName = dateTime; }, { allowsNull = Y; columnName = height; name = height; prototypeName = intNumber; }, { allowsNull = N; name = id; prototypeName = id; }, { allowsNull = N; columnName = mimeType; name = mimeType; prototypeName = varchar100; }, { allowsNull = N; columnName = originalFileName; name = originalFileName; prototypeName = varchar255; }, { allowsNull = Y; columnName = ownerID; name = ownerID; prototypeName = varchar16; }, { allowsNull = Y; columnName = parentID; name = parentID; prototypeName = id; }, { allowsNull = N; columnName = proxied; name = proxied; prototypeName = boolean; }, { allowsNull = N; columnName = size; name = size; prototypeName = intNumber; }, { allowsNull = Y; columnName = smallData; name = smallData; prototypeName = blob; }, { allowsNull = Y; columnName = storageType; name = storageType; prototypeName = varchar10; }, { allowsNull = Y; columnName = thumbnail; name = thumbnail; prototypeName = varchar10; }, { allowsNull = N; columnName = webPath; name = webPath; prototypeName = varchar1000; }, { allowsNull = Y; columnName = width; name = width; prototypeName = intNumber; } ); attributesUsedForLocking = ( attachmentDataID, available, configurationName, height, id, mimeType, originalFileName, ownerID, parentID, proxied, size, storageType, thumbnail, webPath, width ); className = er.attachment.model.ERDatabaseAttachment; classProperties = ( attachmentData, available, childrenAttachments, configurationName, creationDate, height, mimeType, originalFileName, ownerID, parentAttachment, proxied, size, smallData, storageType, thumbnail, webPath, width ); externalName = ERAttachment; internalInfo = {}; isAbstractEntity = N; name = ERDatabaseAttachment; parent = ERAttachment; primaryKeyAttributes = ( id ); relationships = ( { deleteRule = EODeleteRuleCascade; destination = ERAttachmentData; isMandatory = N; isToMany = N; joinSemantic = EOInnerJoin; joins = ( { destinationAttribute = id; sourceAttribute = attachmentDataID; } ); name = attachmentData; ownsDestination = N; propagatesPrimaryKey = N; }, { deleteRule = EODeleteRuleCascade; destination = ERAttachment; isToMany = Y; joinSemantic = EOInnerJoin; joins = ( { destinationAttribute = parentID; sourceAttribute = id; } ); name = childrenAttachments; }, { destination = ERAttachment; joinSemantic = EOInnerJoin; joins = ( { destinationAttribute = id; sourceAttribute = parentID; } ); name = parentAttachment; } ); restrictingQualifier = "storageType = \"db\""; }