/** * Test whether property object matches. * * @param other match candidate * @return match flag */ protected boolean match(FragmentProperty other) { return ((((name != null) && name.equals(other.getName())) || ((name == null) && (other.getName() == null))) && (((scope != null) && scope.equals(other.getScope())) || ((scope == null) && (other.getScope() == null))) && (((scopeValue != null) && scopeValue.equals(other.getScopeValue())) || ((scopeValue == null) && (other.getScopeValue() == null)))); } }
if (fragmentProperty.getName().equals(propName)) String fragmentPropertyScope = fragmentProperty.getScope(); if (fragmentPropertyScope != null)
String findFragmentPropertyScope = findFragmentProperty.getScope(); if ((propScope == null) && (findFragmentPropertyScope == null))
String fragmentPropertyScope = fragmentProperty.getScope(); if ((fragmentPropertyScope == null) && (scope == null))
for (FragmentProperty fragmentProperty : properties) String fragmentPropertyScope = fragmentProperty.getScope(); if (fragmentPropertyScope != null)
String findFragmentPropertyScope = findFragmentProperty.getScope(); if ((scope == null) && (findFragmentPropertyScope == null))
if (fragmentProperty.getName().equals(propName)) String fragmentPropertyScope = fragmentProperty.getScope(); if (fragmentPropertyScope != null)
String propertyScope = property.getScope(); String propertyScopeValue = property.getScopeValue(); if (updateAllScopes || ((scope == null) && (propertyScope == null)) || ((scope != null) && scope.equals(propertyScope))) String storePropertyScope = storeProperty.getScope(); String storePropertyScopeValue = storeProperty.getScopeValue(); if (updateAllScopes || ((scope == null) && (storePropertyScope == null)) || ((scope != null) && scope.equals(storePropertyScope))) String deletePropertyScope = deleteProperty.getScope(); String deletePropertyScopeValue = deleteProperty.getScopeValue(); if (updateAllScopes || ((scope == null) && (deletePropertyScope == null)) || ((scope != null) && scope.equals(deletePropertyScope)))
FragmentProperty fragmentProperty = (FragmentProperty)propertiesIter.next(); String name = fragmentProperty.getName(); String scope = fragmentProperty.getScope(); String scopeValue = fragmentProperty.getScopeValue(); Iterator scanPropertiesIter = contentFragmentImpl.getProperties().iterator(); if (name.equals(scanName)) String scanScope = scanFragmentProperty.getScope(); if ((scope == null) && (scanScope == null))
String propScope = prop.getScope(); String propScopeValue = prop.getScopeValue(); if (FragmentProperty.GROUP_AND_ROLE_PROPERTY_SCOPES_ENABLED ||