Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2013 SAP AG Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. /
author SAP AG
  EntityComplexPropertyInfo(final String namefinal EdmType typefinal EdmFacets facetsfinal EdmCustomizableFeedMappings customizableFeedMappingfinal List<EntityPropertyInfochildEntityInfos) {
     = childEntityInfos;
  static EntityComplexPropertyInfo create(final EdmProperty propertyfinal List<StringpropertyNamesfinal Map<StringEntityPropertyInfochildEntityInfosthrows EdmException {
    List<EntityPropertyInfochildEntityInfoList = new ArrayList<EntityPropertyInfo>(childEntityInfos.size());
    for (String name : propertyNames) {
    return info;
  public boolean isComplex() {
    return true;
    return Collections.unmodifiableList();
  public EntityPropertyInfo getPropertyInfo(final String name) {
    for (EntityPropertyInfo info : ) {
      if (info.getName().equals(name)) {
        return info;
    return null;
  public String toString() {
    StringBuilder sb = new StringBuilder();
    for (EntityPropertyInfo info : ) {
      if (sb.length() == 0) {
      } else {
        sb.append(", ").append(info.toString());
    return sb.toString();
New to GrepCode? Check out our FAQ X