net.israfil.foundation.dynamic
Interface DynamicallyMutable

All Superinterfaces:
Dynamic, DynamicallyAccessible
All Known Implementing Classes:
DynamicallyMutableObject

public interface DynamicallyMutable
extends DynamicallyAccessible

A generic mutator interface. By this means any attribute should be mutable by using the provided methods. Additionally, the existence of a mutator method can be detected.

Author:
Christian Edward Gruber

Method Summary
 boolean hasMutator(java.lang.String attributeName, java.lang.Class type)
           
 void set(java.lang.String attributeName, java.lang.Object attributeValue)
           
 void set(java.lang.String attributeName, java.lang.Object attributeValue, java.lang.Class type)
           
 void setNull(java.lang.String attributeName, java.lang.Class type)
           
 
Methods inherited from interface net.israfil.foundation.dynamic.DynamicallyAccessible
get, hasAccessor, hasAttribute
 
Methods inherited from interface net.israfil.foundation.dynamic.Dynamic
perform, respondsTo
 

Method Detail

set

void set(java.lang.String attributeName,
         java.lang.Object attributeValue)

set

void set(java.lang.String attributeName,
         java.lang.Object attributeValue,
         java.lang.Class type)

setNull

void setNull(java.lang.String attributeName,
             java.lang.Class type)

hasMutator

boolean hasMutator(java.lang.String attributeName,
                   java.lang.Class type)


Copyright © 2003-2008. All Rights Reserved.