com.stvconsultants.easygloss
Class MultiGloss

java.lang.Object
  extended by com.stvconsultants.easygloss.AbstractGloss
      extended by com.stvconsultants.easygloss.MultiGloss

public class MultiGloss
extends AbstractGloss

A MultiGloss is a decorator for annotated objects that applies multiple coats of gloss.

Author:
Stephen Connolly

Constructor Summary
MultiGloss()
          Creates a new instance of MultiGloss
 
Method Summary
 MultiGloss add(AbstractGloss coat)
          Adds a coat to the gloss
 void apply(java.lang.Object instance)
          Apply the gloss to the instance
 void applyStatic(java.lang.Class instanceClass)
          Apply the gloss to the class
 
Methods inherited from class com.stvconsultants.easygloss.AbstractGloss
apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, filter, filter, filterGetters, filterSetters, findFields, findMethods, findSetter, invoke, invoke, invoke, matchParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiGloss

public MultiGloss()
Creates a new instance of MultiGloss

Method Detail

add

public MultiGloss add(AbstractGloss coat)
Adds a coat to the gloss

Parameters:
coat - The gloss to add to the multigloss
Returns:
this instance for method chaining.

apply

public void apply(java.lang.Object instance)
Apply the gloss to the instance

Specified by:
apply in class AbstractGloss
Parameters:
instance - The object to which the gloss should be applied

applyStatic

public void applyStatic(java.lang.Class instanceClass)
Apply the gloss to the class

Specified by:
applyStatic in class AbstractGloss
Parameters:
instanceClass - The class to which the gloss should be applied


Copyright © 2006 null. All Rights Reserved.