public EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes, final List<AnnotationElement> annotationElements) { if (annotationAttributes != null) { this.annotationAttributes = new ArrayList<EdmAnnotationAttribute>(); this.annotationAttributes.addAll(annotationAttributes); } if (annotationElements != null) { this.annotationElements = new ArrayList<EdmAnnotationElement>(); for (AnnotationElement element : annotationElements) { EdmAnnotationElement edmElement = new EdmAnnotationElementImplProv(element); this.annotationElements.add(edmElement); } } }
public EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes, final List<AnnotationElement> annotationElements) { if (annotationAttributes != null) { this.annotationAttributes = new ArrayList<EdmAnnotationAttribute>(); this.annotationAttributes.addAll(annotationAttributes); } if (annotationElements != null) { this.annotationElements = new ArrayList<EdmAnnotationElement>(); for (AnnotationElement element : annotationElements) { EdmAnnotationElement edmElement = new EdmAnnotationElementImplProv(element); this.annotationElements.add(edmElement); } } }
public EdmAnnotationsImplProv(final List<AnnotationAttribute> annotationAttributes, final List<AnnotationElement> annotationElements) { if (annotationAttributes != null) { this.annotationAttributes = new ArrayList<EdmAnnotationAttribute>(); this.annotationAttributes.addAll(annotationAttributes); } if (annotationElements != null) { this.annotationElements = new ArrayList<EdmAnnotationElement>(); for (AnnotationElement element : annotationElements) { EdmAnnotationElement edmElement = new EdmAnnotationElementImplProv(element); this.annotationElements.add(edmElement); } } }
@Override public List<EdmAnnotationElement> getChildElements() { if (childElements == null && element.getChildElements() != null) { childElements = new ArrayList<EdmAnnotationElement>(); for (AnnotationElement childElement : element.getChildElements()) { childElements.add(new EdmAnnotationElementImplProv(childElement)); } } return childElements; }
@Override public List<EdmAnnotationElement> getChildElements() { if (childElements == null && element.getChildElements() != null) { childElements = new ArrayList<EdmAnnotationElement>(); for (AnnotationElement childElement : element.getChildElements()) { childElements.add(new EdmAnnotationElementImplProv(childElement)); } } return childElements; }
@Override public List<EdmAnnotationElement> getChildElements() { if (childElements == null && element.getChildElements() != null) { childElements = new ArrayList<EdmAnnotationElement>(); for (AnnotationElement childElement : element.getChildElements()) { childElements.add(new EdmAnnotationElementImplProv(childElement)); } } return childElements; }