.containsKey(this.getContactDataPropertySet().getBasePropertySet())) { propertySet = PropertySet.getDefaultPropertySetMap().getMember() .get(this.getContactDataPropertySet().getBasePropertySet());
/** * Checks if is requested property. * * @param propertyDefinition the property definition * @return true, if is requested property */ private boolean isRequestedProperty(PropertyDefinition propertyDefinition) { // If no requested property set, then property wasn't requested. if (this.requestedPropertySet == null) { return false; } // If base property set is all first-class property, use the // appropriate list of // property definitions to see if this property was requested. // Otherwise, property had // to be explicitly requested and needs to be listed in // AdditionalProperties. if (this.requestedPropertySet.getBasePropertySet() == BasePropertySet.FirstClassProperties) { List<PropertyDefinition> firstClassProps = this.onlySummaryPropertiesRequested ? this .getOwner().getSchema().getFirstClassSummaryProperties() : this.getOwner().getSchema().getFirstClassProperties(); return firstClassProps.contains(propertyDefinition) || this.requestedPropertySet.contains(propertyDefinition); } else { return this.requestedPropertySet.contains(propertyDefinition); } }
this.getBasePropertySet().getBaseShapeValue());
.containsKey(this.getContactDataPropertySet().getBasePropertySet())) { propertySet = PropertySet.getDefaultPropertySetMap().getMember() .get(this.getContactDataPropertySet().getBasePropertySet());
/** * Checks if is requested property. * * @param propertyDefinition the property definition * @return true, if is requested property */ private boolean isRequestedProperty(PropertyDefinition propertyDefinition) { // If no requested property set, then property wasn't requested. if (this.requestedPropertySet == null) { return false; } // If base property set is all first-class property, use the // appropriate list of // property definitions to see if this property was requested. // Otherwise, property had // to be explicitly requested and needs to be listed in // AdditionalProperties. if (this.requestedPropertySet.getBasePropertySet() == BasePropertySet.FirstClassProperties) { List<PropertyDefinition> firstClassProps = this.onlySummaryPropertiesRequested ? this .getOwner().getSchema().getFirstClassSummaryProperties() : this.getOwner().getSchema().getFirstClassProperties(); return firstClassProps.contains(propertyDefinition) || this.requestedPropertySet.contains(propertyDefinition); } else { return this.requestedPropertySet.contains(propertyDefinition); } }
this.getBasePropertySet().getBaseShapeValue());