com.metamatrix.common.object
Class DefaultPropertyAccessPolicy

java.lang.Object
  extended by com.metamatrix.common.object.DefaultPropertyAccessPolicy
All Implemented Interfaces:
PropertyAccessPolicy

public class DefaultPropertyAccessPolicy
extends java.lang.Object
implements PropertyAccessPolicy


Field Summary
 
Fields inherited from interface com.metamatrix.common.object.PropertyAccessPolicy
DEFAULT_READ_ONLY_PRIVILEGE
 
Constructor Summary
DefaultPropertyAccessPolicy()
           
 
Method Summary
 boolean isReadOnly(PropertiedObject obj)
           
 boolean isReadOnly(PropertiedObject obj, PropertyDefinition def)
           
 void reset(PropertiedObject obj)
           
 void setReadOnly(PropertiedObject obj, boolean readOnly)
           
 void setReadOnly(PropertiedObject obj, PropertyDefinition def, boolean readOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyAccessPolicy

public DefaultPropertyAccessPolicy()
Method Detail

isReadOnly

public boolean isReadOnly(PropertiedObject obj)
Specified by:
isReadOnly in interface PropertyAccessPolicy

isReadOnly

public boolean isReadOnly(PropertiedObject obj,
                          PropertyDefinition def)
Specified by:
isReadOnly in interface PropertyAccessPolicy

setReadOnly

public void setReadOnly(PropertiedObject obj,
                        PropertyDefinition def,
                        boolean readOnly)
Specified by:
setReadOnly in interface PropertyAccessPolicy

setReadOnly

public void setReadOnly(PropertiedObject obj,
                        boolean readOnly)
Specified by:
setReadOnly in interface PropertyAccessPolicy

reset

public void reset(PropertiedObject obj)
Specified by:
reset in interface PropertyAccessPolicy


Copyright © 2009. All Rights Reserved.