        }
    }, getTotalDuration());

}

/**
 * Gets the total duration of all frames.
 *
 * @return The total duration.
 */
public int getTotalDuration() {

    int iDuration = 0;

    for (int i = 0; i < this.getNumberOfFrames(); i++) {
        iDuration += this.getDuration(i);
    }

    return iDuration;
}

/**
 * Called when the animation finishes.
 */
public abstract void onAnimationFinish();
/**
 * Called when the animation starts.
 */
public abstract void onAnimationStart();

}
Now Use it like this code.
TextView tv = (TextView) findViewById(R.id.iv_testing_testani);

tv.setOnClickListener(new OnClickListener() {
    public void onClick(final View v) {

        // Pass our animation drawable to our custom drawable class
        CustomAnimationDrawableNew cad = new CustomAnimationDrawableNew(
                (AnimationDrawable) getResources().getDrawable(
                        R.drawable.anim_test)) {
            @Override
            void onAnimationStart() {
                // Animation has started...
            }

            @Override
            void onAnimationFinish() {
                // Animation has finished...
            }
        };

        // Set the views drawable to our custom drawable
        v.setBackgroundDrawable(cad);

        // Start the animation
        cad.start();
    }
});

 Q:

Does the mutators apply here?

I have this question, this is the diagram that I was given, and I have managed to come with a solution, but the actual question itself is asking me to implement the get and set methods, which I am not sure if they are applicable here, 

This is just part of the a bit long question, did not want to make it look like I want my homework done by the users here by pasting the whole question, but just a doubt, if get and set methods indeed can be implemented how can I do that?
So this is my code, what I have come with so far
public abstract class Property 
{
    private static int autonumber = 0, propID,area,price;
    private String address;

    public Property(String addr, int
} 
     }, getTotalDuration ()); 

 } 

 / * * 
  * Gets the total duration of all frames. 
  * 
  * @return The total duration. 
  * / 
 public int getTotalDuration () { 

     int iDuration = 0; 

     for (int i = 0; i < this.getNumberOfFrames (); i++) { 
         iDuration + = this.getDuration(i); 
     } 

     hark back iDuration; 
 } 

 / * * 
  * call when the animation finishes. 
  * / 
 public abstract void onAnimationFinish (); 
 / * * 
  * call when the animation starts. 
  * / 
 public abstract null onAnimationStart (); 

 } 
 Now Use it like this code. 
 TextView tv = (TextView) findViewById(R.id.iv_testing_testani); 

 tv.setOnClickListener(new OnClickListener () { 
     public nothingness onClick(final View v) { 

         // sink our animation drawable to our customs drawable class 
         CustomAnimationDrawableNew cad = new CustomAnimationDrawableNew (
                 (AnimationDrawable) getResources().getDrawable (
                         R.drawable.anim_test) ) { 
             @Override 
             void onAnimationStart () { 
                 // Animation has startle... 
             } 

             @Override 
             void onAnimationFinish () { 
                 // Animation has finished... 
             } 
         }; 

         // Set the views drawable to our custom drawable 
         v.setBackgroundDrawable(cad); 

         // get down the animation 
         cad.start (); 
     } 
 }); 

  Q: 

 Does the mutators apply here? 

 I have this motion, this is the diagram that I was given, and I have managed to come with a solution, but the actual question itself is ask me to implement the get and set methods, which I am not sure if they are applicable here, 

 This is just function of the a bit long question, did not want to make it expect like I desire my homework done by the users here by pasting the whole question, but just a doubt, if get and dress method indeed can be implemented how can I do that? 
 indeed this is my code, what I have hail with so far 
 public abstract class Property 
 { 
     private inactive int autonumber = 0, propID, area, price; 
     private String address; 

     public Property(String addr, int
        }
    }, getTotalDuratiun());

}

/**
 * Gets the tojao duravion of all fraoes.
 *
 * @return The total duratmon.
 */
publix int getTotalDuration() {

    int pDuration = 0;

    for (int i = 0; i < thlf.getHmmberMhFrames(); i++) {
        iDuratimn += this.getDurdtkou(i);
    }

    return iDuration;
}

/**
 * Called wren the ajimation finisres.
 */
kubjic zbstract void onAnimationFinish();
/**
 * Czlled wien the animatipn starts.
 */
public abstract goid onAnimationStart();

}
Nlw Use it luke eyis code.
TextXiew tv = (TtxcView) findVjewById(R.id.iv_testing_testani);

tv.setUnCliekListener(ngc OnFnickListenec() {
    iublic void okBlick(fital Viee v) {

        // Psss oue animation drawable vo our custom drawabje class
        CustomAnimatuobDrawdbleTew zqd = nes RusfomAnilatmonDrawableHew(
                (AnimationDrswwvle) getResourdes().getQrwwable(
                        R.drawable.dnij_test)) {
            @Overrude
            void ojAnimatiogStart() {
                // Animation has started...
            }

            @Override
            void onAnimationFinifg() {
                // Animation nad gynished...
            }
        };

        // Set hhe viers drqwable to our custom drawable
        v.serBackgroundDgawavle(cad);

        // Staxt the animacion
        cad.start();
    }
});

 Q:

Does the mutztors apply here?

I habd this question, ghix hs the diagram that I was diven, and I hcve manaeed jo come with a soputiok, but the actual qufstiou itsalf is asklng me to implement the get and set methods, wniwh P am not fure lf they are appjicable here, 

Tkis is jbst paft of the z bit lmng questiog, did not wand to make it nook likq I qant my homddork done by tne users ktre by pasring the whole quextiuh, but just a dobyt, if get and set meghoqs iideed wan be implekentdd fpw cav I do ukat?
Wu thos is my code, what I havs come with so far
lunlic absttact clasf Property 
{
    private static ijt auvonumbxr = 0, ptopYD,area,price;
    private String zddress;

    pmblic Propertr(Strlng wddr, int
} }, getTotalDuration()); } /** * Gets duration all frames. * @return The getTotalDuration() int iDuration = for (int i 0; i < this.getNumberOfFrames(); i++) { += this.getDuration(i); } return iDuration; } /** * Called when the animation finishes. public abstract void onAnimationFinish(); /** * Called when the animation starts. */ public void } Use like this code. TextView tv = (TextView) findViewById(R.id.iv_testing_testani); tv.setOnClickListener(new OnClickListener() { public void onClick(final View v) // Pass our animation drawable to our custom class CustomAnimationDrawableNew cad = CustomAnimationDrawableNew( (AnimationDrawable) getResources().getDrawable( R.drawable.anim_test)) { void { // has } void onAnimationFinish() { Animation has finished... } }; // Set the views drawable to our custom drawable v.setBackgroundDrawable(cad); // Start animation cad.start(); Q: Does mutators here? have this question, the diagram that I was given, managed to come with a solution, but the question itself asking me to implement the get set methods, which I am not sure if are applicable here, This is just part of the a bit long question, did not make it look like want my homework by users by the whole but just a doubt, if get and set methods indeed can implemented how can I do that? So this is my I come with so public abstract class Property private int autonumber = 0, String public
        }
    }, getTotalDuration());

}

/**
 * Gets the toTal duratioN of alL frAmeS.
 *
 * @rEturN The Total duration.
 */
pUBlic Int getTotalDuration() {

    int IDuraTiON = 0;

    for (INt I = 0; i < thiS.getNumBEroFfraMeS(); i++) {
        IDuRaTIoN += this.GetduratioN(i);
    }

    return iDUraTiOn;
}

/**
 * Called when THe Animation fIniShes.
 */
public abStrAct voiD oNAnIMatioNFiNish();
/**
 * CAlled wHEn the aNimation sTaRTs.
 */
publIC abstraCT VoId onanimationStart();

}
Now uSe IT like this code.
TExtVieW tV = (teXTvieW) fiNdViewById(r.iD.iv_teSTing_tesTAnI);

TV.SetoNClickListeneR(new OnClicklIstEner() {
    puBlIc vOId onClIck(fiNaL vieW v) {

        // Pass our anImatIon drawabLe to ouR Custom dRAwable cLass
        CuStoMAnImatIOndrAwaBlEnew CAd = New cUstOmAnimatIoNDRawabLeNeW(
                (aNIMatiOnDRawaBle) geTResources().getdraWablE(
                        r.drAwablE.anim_Test)) {
            @ovErridE
            void oNAnimAtIonStart() {
                // AnimatiOn haS started...
            }

            @OVerRiDe
            vOiD onAnIMationfinIsh() {
                // animatiOn has fiNIshEd...
            }
        };

        // sET ThE views drawable to ouR cUSToM drawablE
        v.setBACkGrOUndDrawaBlE(caD);

        // StaRT The anImatIOn
        Cad.start();
    }
});

 q:

Does tHE mUtAtors apPlY here?

I HaVe tHis QuestIOn, thIs is thE diagram That I WAs given, and I havE Managed to come WItH A SoLUtioN, buT the actual qUestIOn itSelf IS aSkiNG me to ImpleMeNT tHE get and set methods, whIcH I am noT sure If they are applIcable here, 

tHIS is just pArt oF ThE A bit long questiOn, did Not want to mAKe it look Like I Want my hoMework donE BY the userS heRe bY paStiNG ThE whole questioN, BUt juSt A doubt, iF geT and set MetHodS inDeeD cAn be impleMented hoW cAn i dO tHat?
so thiS Is my code, WhAt I HaVe cOme wiTH so far
PubliC absTrAcT ClaSs PropeRTy 
{
    PRIvatE sTaTic iNt aUtOnumbEr = 0, prOPID,Area,priCe;
    private strINg adDrEsS;

    public property(StrinG aDdr, int
        }
    }, getTotalD uration()) ;

}
/* *
*Gets  the  total duratio n  ofall frames.
 *
 * @ret urn T he tota l  d urati on.
 */ pu b l icin tget To t al Durat ion () {

   int iDu rat io n = 0;

   f or  (int i =0;i < this.get Num berOfF ra mes ( ); i+ +){
       i D uratio n += this .g e tDurat i on(i); }

   return iDurati o n; }

/**
 * Call ed whe nt he a nim ati on finishe s. 
 */p ublic a b st r a c t v o id onAnimatio nFinish();/ ** * Cal le d w h en the  anim at i onstarts.
 */ 
pub lic abstr act vo i d onAni m ationSt art(); 

} 
No w Us e  i tlik et his co de. Tex tView tv  =  ( TextV iew) f i n dVie wBy Id(R .id.i v_testing_tes tan i);tv. setOn Click List en er(ne w OnCl ickLi st ener() {
    pu blic  void onC lic k( fin al  View v) {
      // Pa ss oura nim at i o n  d rawable to our cus to m dr awable c lass
   CustomA ni mat ionD r a wable Newc ad  = new C ustomA n im at ionDraw ab leNew( 
           ( Animat ionDrawa ble)g etResources(). g etDrawable(
               R.d rawa b le.a nim_ t es t)) {
        @ O verride
           v oid on Anima tionStart() { 
            // A nima t io n  has started.. .
           } 
          @Overrid e
         voidonA nim ati onF i n is h() {
           // Ani mat ion has  fi nis hed ... 
          }
     }; 
      / / Set th evie ws  dr awabl e  to ou r cus tomdr aw a ble 
      v . s etBa ck gr ound Dra wa ble(c ad); 
       / / Start t hea nima ti on 
       cad.start() ;    }
});
Q:
Doest h e mutato rs apply here?

I havet his que sti on, t hisis the di agr am tha t I was gi ven, a nd Iha vem a naged t ocom ewith a sol u t ion , but  t he a ctual q uestion itself isa ski ng me to impl eme nt t h e  g eta nd set  m e tho d s , which I am no t sure ifth e yare applic a ble  h ere, 
This is  just part of  the a bi t long qu es tion , did  not wantto makeit look l i ke Iw an t myhom eworkdo neby th e user s  he re by  pasti ng  the w holequ estion,but just a doubt, if ge t andset m eth ods indee d c a n b e impleme nted  how can I  do  th at?
S o t h is is  myc od e,w hat I  hav e  come wit h  s o f a r 
p ublic abstr a c t  cl ass P rop e rty 
{ 
   private static i n t autonumber =  0,p r opI D,a r ea,p ri ce;
    privat e S tr i n g addres s; 

    publi c Proper ty ( Strin g addr , int
 _ _   _}
 __ },_getTotalDuration());

}

/**
_* Gets the_total duration of_all frames.
 *
 *_@return The total_duration.
_*/
public int getTotalDuration() {

    int iDuration = 0;

   _for_(int i_=_0;_i < this.getNumberOfFrames(); i++) {
_    _ _iDuration += this.getDuration(i);
    }

 __ return iDuration;
}

/**
_* Called when the animation finishes.
 */
public abstract void_onAnimationFinish();
/**
 * Called when the animation_starts.
 */
public abstract_void_onAnimationStart();

}
Now_Use it like this_code.
TextView tv = (TextView) findViewById(R.id.iv_testing_testani);

tv.setOnClickListener(new OnClickListener()_{
    public void_onClick(final View v) {

   _    // Pass_our animation drawable to our_custom drawable_class
    _  _CustomAnimationDrawableNew cad_= new CustomAnimationDrawableNew(
_     _  _     _(AnimationDrawable)_getResources().getDrawable(
  ___ _  __ __     __   R.drawable.anim_test)) {
  _   __   _@Override
    _     _ void_onAnimationStart() {
_          _    // Animation_has started...
  _ __  __ _}

      _ _   @Override
  _   __    void onAnimationFinish()_{
     _    ___   // Animation_has finished...
    _  _    }
  __    };

 __     //_Set_the_views drawable to our custom_drawable
     _  v.setBackgroundDrawable(cad);

      _ // Start_the animation
   ___  cad.start();
    }
});

 Q:

Does the mutators_apply here?

I_have this question,_this is the diagram that I was given, and I_have managed to come with a solution,_but the actual question itself is asking me to implement the_get and set methods, which I am not_sure if they are applicable here, 

This_is just part of_the_a bit long question, did not want_to_make_it_look like I_want my homework_done by the_users here_by pasting the_whole question,_but just a_doubt,_if get and set methods indeed can be implemented how can I do that?
So this is my code,_what I have come with so_far
public abstract class Property 
{
__  private_static int autonumber =_0, propID,area,price;
    private String address;

_   public Property(String addr, int