public Set<com.sun.tools.xjc.model.CElement> getElements(C context, CReferencePropertyInfo referencePropertyInfo) { return referencePropertyInfo.getElements(); }
public Set<com.sun.tools.xjc.model.CElement> getElements(C context, CReferencePropertyInfo referencePropertyInfo) { return referencePropertyInfo.getElements(); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(ci); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(target); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(target); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(target); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(target); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(target); }
protected void toElementRef(CReferencePropertyInfo prop) { prop.getElements().add(target); }
public Collection<CCustomizations> onReference( CReferencePropertyInfo info) { final List<CCustomizations> elementCustomizations = new ArrayList<CCustomizations>( info.getElements().size()); for (CElement element : info.getElements()) { elementCustomizations.add(element .getCustomizations()); } return elementCustomizations; }
public Collection<CCustomizations> onReference( CReferencePropertyInfo info) { final List<CCustomizations> elementCustomizations = new ArrayList<CCustomizations>( info.getElements().size()); for (CElement element : info.getElements()) { elementCustomizations.add(element .getCustomizations()); } return elementCustomizations; }
public Collection<CCustomizations> onReference(CReferencePropertyInfo info) { final List<CCustomizations> elementCustomizations = new ArrayList<CCustomizations>( info.getElements().size()); for (CElement element : info.getElements()) { if (!(element instanceof CElementInfo && ((CElementInfo) element).hasClass())) { elementCustomizations.add(element.getCustomizations()); } } return elementCustomizations; }
public Void onReference(CReferencePropertyInfo p) { for (CElement e : p.getElements()) { countURI(propUriCountMap, e.getElementName()); } return null; }
public Void onReference(CReferencePropertyInfo p) { for (CElement e : p.getElements()) { countURI(propUriCountMap, e.getElementName()); } return null; }
public Void onReference(CReferencePropertyInfo p) { for (CElement e : p.getElements()) { countURI(propUriCountMap, e.getElementName()); } return null; }
protected CElementInfo getElementInfo() { final CReferencePropertyInfo referencePropertyInfo = (CReferencePropertyInfo) core; final Collection<CElement> elements = referencePropertyInfo .getElements(); final CElement element = elements.iterator().next(); final CElementInfo elementInfo = (CElementInfo) element.getType(); return elementInfo; }
public Void onReference(CReferencePropertyInfo p) { for (CElement e : p.getElements()) { countURI(propUriCountMap, e.getElementName()); } return null; }
public Void onReference(CReferencePropertyInfo p) { for (CElement e : p.getElements()) { countURI(propUriCountMap, e.getElementName()); } return null; }
protected CElementInfo getElementInfo() { final CReferencePropertyInfo referencePropertyInfo = (CReferencePropertyInfo) core; final Collection<CElement> elements = referencePropertyInfo .getElements(); final CElement element = elements.iterator().next(); final CElementInfo elementInfo = (CElementInfo) element.getType(); return elementInfo; }
@Override protected JType getType(final Aspect aspect) { if (Aspect.IMPLEMENTATION.equals(aspect)) { return super.getType(aspect); } if (prop instanceof CReferencePropertyInfo) { Set<CElement> elements = ((CReferencePropertyInfo)prop).getElements(); if ((elements != null) && (elements.size() > 0)) { return codeModel.ref(Serializable.class); } } return codeModel.ref(String.class); } }