Name: Anonymous 2010-05-26 14:10
Getters and setters considered harmful.
Or: How do i broked encapsulation?
Discuss.
Or: How do i broked encapsulation?
Discuss.
attr_accessor
void * addressOfAttribute (char *attr_name);
package org.4chan.dis.prog {
public class ScalableEnterpriseSolution extends Solution implements IScalable, IEnterprise {
private var enterpriseXML:XML = <scalable>
<enterprise>
<solution>
<spoiler>/prog/</spoiler>
leverages core skillsets
and world-class team
synergy through SICP to
provide clients
worldwide with robust,
scalable, modern turnkey
implementations of
flexible, personalized,
cutting-edge
Internet-enabled
e-business application
product suite e-solution
architectures that
accelerate response to
customer and real-world
market demands and
reliably adapt to
evolving technology
needs, seamlessly and
efficiently integrating
and synchronizing with
their existing legacy
infrastructure,
enhancing the
e-readiness capabilities
of their e-commerce
production environments
across the enterprise
while giving them a
critical competitive
advantage and taking
them to the next level.
</solution>
</enterprise>
</scalable>;
public function set enterpriseXML(enterpriseXML:XML) : void {
this.enterpriseXML = enterpriseXML; }
public function get enterpriseXML() : XML { return
enterpriseXML;
}
}
}