org.pojomatic.internal
Class PropertyFilter

java.lang.Object
  extended by org.pojomatic.internal.PropertyFilter

public class PropertyFilter
extends java.lang.Object


Method Summary
static java.util.Set<PropertyRole> getRoles(PojomaticPolicy elementPolicy, DefaultPojomaticPolicy classPolicy)
          Get the roles specified by a property policy and class policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRoles

public static java.util.Set<PropertyRole> getRoles(PojomaticPolicy elementPolicy,
                                                   DefaultPojomaticPolicy classPolicy)
Get the roles specified by a property policy and class policy.

Parameters:
elementPolicy - the policy on the property (null if unspecified)
classPolicy - the policy on the class (null if unspecified).
Returns:
the roles specified by the policies.
Throws:
java.lang.IllegalArgumentException - if both elementPolicy and classPolicy are null.


Copyright © 2008-2009. All Rights Reserved.