diff --git a/wwwroot/models/entities/Account.cfc b/wwwroot/models/entities/Account.cfc index bf85e05..b71607f 100644 --- a/wwwroot/models/entities/Account.cfc +++ b/wwwroot/models/entities/Account.cfc @@ -56,27 +56,6 @@ component } - // I set the ID property. - function setID( Numeric id ){ - - // Validate id. - if (id == 0){ - - throw( - type = "InvalidArgument", - message = "ID must be non-zero." - ); - - } - - variables.id = id; - - // Return this object reference for method chaining. - return( this ); - - } - - // I set the name property. function setName( String name ){ diff --git a/wwwroot/models/entities/Task.cfc b/wwwroot/models/entities/Task.cfc index fd5acf6..f410deb 100644 --- a/wwwroot/models/entities/Task.cfc +++ b/wwwroot/models/entities/Task.cfc @@ -149,24 +149,4 @@ component } - // I set the ID property. - function setID( Numeric id ){ - - // Validate id. - if (id == 0){ - - throw( - type = "InvalidArgument", - message = "ID must be non-zero." - ); - - } - - variables.id = id; - - // Return this object reference for method chaining. - return( this ); - - } - }