org.ogf.graap.wsag.wsrf.sg.impl
Class MembershipContentRule

java.lang.Object
  extended by org.apache.muse.ws.resource.sg.impl.SimpleMembershipContentRule
      extended by org.ogf.graap.wsag.wsrf.sg.impl.MembershipContentRule
All Implemented Interfaces:
org.apache.muse.util.xml.XmlSerializable, org.apache.muse.ws.resource.sg.MembershipContentRule
Direct Known Subclasses:
AgreementMembershipContentRule

public class MembershipContentRule
extends org.apache.muse.ws.resource.sg.impl.SimpleMembershipContentRule

MembershipContentRule

Author:
Oliver Waeldrich

Constructor Summary
MembershipContentRule()
          default constructor
MembershipContentRule(Element xml)
          Creates a MembershipContentRule based on the given XML representaotion of the rule.
 
Method Summary
 boolean isMatch(org.apache.muse.ws.addressing.EndpointReference memberEPR)
          Matches the resource referenced by the given EPR against this rule.
 
Methods inherited from class org.apache.muse.ws.resource.sg.impl.SimpleMembershipContentRule
getContentElements, getMemberInterface, getServiceGroupEPR, setContentElements, setMemberInterface, setServiceGroupEPR, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MembershipContentRule

public MembershipContentRule()
default constructor


MembershipContentRule

public MembershipContentRule(Element xml)
Creates a MembershipContentRule based on the given XML representaotion of the rule.

Parameters:
xml - the rule XML representation
See Also:
SimpleMembershipContentRule
Method Detail

isMatch

public boolean isMatch(org.apache.muse.ws.addressing.EndpointReference memberEPR)
Matches the resource referenced by the given EPR against this rule.

Specified by:
isMatch in interface org.apache.muse.ws.resource.sg.MembershipContentRule
Overrides:
isMatch in class org.apache.muse.ws.resource.sg.impl.SimpleMembershipContentRule
Parameters:
memberEPR - the EPR of the resource to match
Returns:
true if the resource matches this rule, false otherwise


Copyright © 2008-2012. All Rights Reserved.