public static InternationalString getIString(String str, LifeCycleManager lifeCycleManager) throws JAXRException { return lifeCycleManager.createInternationalString(str); }
public static InternationalString getIString(String str, LifeCycleManager lifeCycleManager) throws JAXRException { return lifeCycleManager.createInternationalString(str); }
private static InternationalString getIString(String lang, String str, LifeCycleManager lifeCycleManager) throws JAXRException { if (str!=null) { return lifeCycleManager.createInternationalString(getLocale(lang), str); } else { return null; } }
private static InternationalString getIString(String lang, String str, LifeCycleManager lifeCycleManager) throws JAXRException { if (str!=null) { return lifeCycleManager.createInternationalString(getLocale(lang), str); } else { return null; } }
public static Concept getConcept(TModelInfo tModelInfo, LifeCycleManager lifeCycleManager) throws JAXRException { Concept concept = new ConceptImpl(lifeCycleManager); concept.setKey(lifeCycleManager.createKey(tModelInfo.getTModelKey())); concept.setName(lifeCycleManager.createInternationalString(getLocale(tModelInfo.getName().getLang()), tModelInfo.getName().getValue())); return concept; }
public static Concept getConcept(TModelInfo tModelInfo, LifeCycleManager lifeCycleManager) throws JAXRException { Concept concept = new ConceptImpl(lifeCycleManager); concept.setKey(lifeCycleManager.createKey(tModelInfo.getTModelKey())); concept.setName(lifeCycleManager.createInternationalString(getLocale(tModelInfo.getName().getLang()), tModelInfo.getName().getValue())); return concept; }
public static Concept getConcept(TModel tmodel, LifeCycleManager lifeCycleManager) throws JAXRException { Concept concept = new ConceptImpl(lifeCycleManager); concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey())); concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()), tmodel.getName().getValue())); Description desc = getDescription(tmodel); if (desc != null) { concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()), desc.getValue())); } concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager)); concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager)); return concept; }
public static Concept getConcept(TModel tmodel, LifeCycleManager lifeCycleManager) throws JAXRException { Concept concept = new ConceptImpl(lifeCycleManager); concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey())); concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()), tmodel.getName().getValue())); Description desc = getDescription(tmodel); if (desc != null) { concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()), desc.getValue())); } concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager)); concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager)); return concept; }
public static Concept getConcept(TModelDetail tModelDetail, LifeCycleManager lifeCycleManager) throws JAXRException { Concept concept = new ConceptImpl(lifeCycleManager); List<TModel> tmodelList = tModelDetail.getTModel(); for (TModel tmodel : tmodelList) { concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey())); concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()), tmodel.getName().getValue())); Description desc = getDescription(tmodel); if( desc != null ) { concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()), desc.getValue())); } concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager)); concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager)); } return concept; }
public static Concept getConcept(TModelDetail tModelDetail, LifeCycleManager lifeCycleManager) throws JAXRException { Concept concept = new ConceptImpl(lifeCycleManager); List<TModel> tmodelList = tModelDetail.getTModel(); for (TModel tmodel : tmodelList) { concept.setKey(lifeCycleManager.createKey(tmodel.getTModelKey())); concept.setName(lifeCycleManager.createInternationalString(getLocale(tmodel.getName().getLang()), tmodel.getName().getValue())); Description desc = getDescription(tmodel); if( desc != null ) { concept.setDescription(lifeCycleManager.createInternationalString(getLocale(desc.getLang()), desc.getValue())); } concept.addExternalIdentifiers(getExternalIdentifiers(tmodel.getIdentifierBag(), lifeCycleManager)); concept.addClassifications(getClassifications(tmodel.getCategoryBag(), lifeCycleManager)); } return concept; }
public static Service getService(ServiceInfo serviceInfo, LifeCycleManager lifeCycleManager) throws JAXRException { Service service = new ServiceImpl(lifeCycleManager); String keystr = serviceInfo.getServiceKey(); if (keystr != null) { service.setKey(lifeCycleManager.createKey(keystr)); } List<Name> namesList = serviceInfo.getName(); InternationalString is = null; for (Name n : namesList) { if (is == null) { is = lifeCycleManager.createInternationalString(getLocale(n.getLang()), n.getValue()); } else { is.setValue(getLocale(n.getLang()), n.getValue()); } } service.setName(is); return service; }
public static Service getService(ServiceInfo serviceInfo, LifeCycleManager lifeCycleManager) throws JAXRException { Service service = new ServiceImpl(lifeCycleManager); String keystr = serviceInfo.getServiceKey(); if (keystr != null) { service.setKey(lifeCycleManager.createKey(keystr)); } List<Name> namesList = serviceInfo.getName(); InternationalString is = null; for (Name n : namesList) { if (is == null) { is = lifeCycleManager.createInternationalString(getLocale(n.getLang()), n.getValue()); } else { is.setValue(getLocale(n.getLang()), n.getValue()); } } service.setName(is); return service; }
for (Name n : namesList) { if (is == null) { is = lifeCycleManager.createInternationalString(getLocale(n.getLang()), n.getValue()); } else { is.setValue(getLocale(n.getLang()), n.getValue()); for (Description desc : descriptionList) { if (dis == null) { dis = lifeCycleManager.createInternationalString(getLocale(desc.getLang()), desc.getValue()); } else { dis.setValue(getLocale(desc.getLang()), desc.getValue());
for (Name n : namesList) { if (is == null) { is = lifeCycleManager.createInternationalString(getLocale(n.getLang()), n.getValue()); } else { is.setValue(getLocale(n.getLang()), n.getValue()); for (Description desc : descriptionList) { if (dis == null) { dis = lifeCycleManager.createInternationalString(getLocale(desc.getLang()), desc.getValue()); } else { dis.setValue(getLocale(desc.getLang()), desc.getValue());
c.setExternalLinks(elinks); c.setKey(lifeCycleManager.createKey(info.getTModelKey())); c.setName(lifeCycleManager.createInternationalString(idetails.getInstanceParms())); c.setValue(idetails.getInstanceParms());
c.setExternalLinks(elinks); c.setKey(lifeCycleManager.createKey(info.getTModelKey())); c.setName(lifeCycleManager.createInternationalString(idetails.getInstanceParms())); c.setValue(idetails.getInstanceParms());