[Glass] How to remove dbTransient option from class definitions ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] How to remove dbTransient option from class definitions ...

marten
How can I remove the dbTransient option from a class definition ? I
deleted it but it always comes back !?

Marten

--
Marten Feldtmann
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] How to remove dbTransient option from class definitions ...

James Foster-9
Hi Marten,

The ‘Subclass Creation’ method category in Class contains various methods, including some that include the following comment describing the options argument:

"If present, #noInheritOptions must be the first element and it causes
 none of subclassesDisallowed, disallowGciStore, traverseByCallback,
 dbTransient, instancesNonPersistent, instancesInvariant
 to be inherited from the superclass, nor copied from the
 current version of the class.”

This is also discussed in the Programming Guide, section 3.1 “Subclass Creation” on page 49.

James

On Jan 12, 2014, at 7:28 AM, [hidden email] wrote:

> How can I remove the dbTransient option from a class definition ? I
> deleted it but it always comes back !?
>
> Marten
>
> --
> Marten Feldtmann
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] How to remove dbTransient option from class definitions ...

marten
I wanted to change the original superclass - but actually I copied now
all methods and created a new class.

Marten

Am 12.01.2014 17:30, schrieb James Foster:

> Hi Marten,
>
> The ‘Subclass Creation’ method category in Class contains various methods, including some that include the following comment describing the options argument:
>
> "If present, #noInheritOptions must be the first element and it causes
>  none of subclassesDisallowed, disallowGciStore, traverseByCallback,
>  dbTransient, instancesNonPersistent, instancesInvariant
>  to be inherited from the superclass, nor copied from the
>  current version of the class.”
>
> This is also discussed in the Programming Guide, section 3.1 “Subclass Creation” on page 49.
>


--
Marten Feldtmann
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass