public class MappingApiToModel extends Object
Constructor and Description |
---|
MappingApiToModel() |
Modifier and Type | Method and Description |
---|---|
static void |
mapAddressLines(List<AddressLine> apiAddressLineList,
List<AddressLine> modelAddressLineList,
Address modelAddress,
Long contactId) |
static List<Signature> |
mapApiSignaturesToModelSignatures(List<SignatureType> apiSignatures) |
static void |
mapBindingDescriptions(List<Description> apiDescList,
List<BindingDescr> modelDescList,
BindingTemplate modelBindingTemplate) |
static void |
mapBindingTemplate(BindingTemplate apiBindingTemplate,
BindingTemplate modelBindingTemplate,
BusinessService modelBusinessService) |
static void |
mapBindingTemplates(BindingTemplates apiBindingTemplates,
List<BindingTemplate> modelBindingTemplateList,
BusinessService modelBusinessService) |
static void |
mapBindingTemplateSignatures(List<SignatureType> apiSignatures,
BindingTemplate modelBindingTemplate) |
static void |
mapBusinessDescriptions(List<Description> apiDescList,
List<BusinessDescr> modelDescList,
BusinessEntity modelBusinessEntity) |
static void |
mapBusinessEntity(BusinessEntity apiBusinessEntity,
BusinessEntity modelBusinessEntity) |
static void |
mapBusinessIdentifiers(IdentifierBag apiIdentifierBag,
List<BusinessIdentifier> modelIdentifierList,
BusinessEntity modelBusinessEntity) |
static void |
mapBusinessNames(List<Name> apiNameList,
List<BusinessName> modelNameList,
BusinessEntity modelBusinessEntity) |
static void |
mapBusinessService(BusinessService apiBusinessService,
BusinessService modelBusinessService,
BusinessEntity modelBusinessEntity) |
static void |
mapBusinessServices(BusinessServices apiBusinessServices,
List<BusinessService> modelBusinessServiceList,
List<ServiceProjection> modelServiceProjectionList,
BusinessEntity modelBusinessEntity) |
static void |
mapBusinessServiceSignature(List<SignatureType> apiSignatures,
BusinessService modelBusinessService) |
static void |
mapBusinessSignature(List<SignatureType> apiSignatures,
BusinessEntity modelBusinessEntity) |
static void |
mapCategoryBag(CategoryBag apiCategoryBag,
CategoryBag modelCategoryBag) |
static ChangeRecord |
mapChangeRecord(ChangeRecord rec) |
static void |
mapClerk(Clerk apiClerk,
Clerk modelClerk) |
static void |
mapClientSubscriptionInfo(ClientSubscriptionInfo apiClientSubscriptionInfo,
ClientSubscriptionInfo modelClientSubscriptionInfo) |
static void |
mapContactAddresses(List<Address> apiAddressList,
List<Address> modelAddressList,
Contact modelContact) |
static void |
mapContactDescriptions(List<Description> apiDescList,
List<ContactDescr> modelDescList,
Contact modelContact,
String businessKey) |
static void |
mapContactEmails(List<Email> apiEmailList,
List<Email> modelEmailList,
Contact modelContact,
String businessKey) |
static void |
mapContactPhones(List<Phone> apiPhoneList,
List<Phone> modelPhoneList,
Contact modelContact,
String businessKey) |
static void |
mapContacts(Contacts apiContacts,
List<Contact> modelContactList,
BusinessEntity modelBusinessEntity) |
static void |
mapDiscoveryUrls(DiscoveryURLs apiDiscUrls,
List<DiscoveryUrl> modelDiscUrlList,
BusinessEntity modelBusinessEntity) |
static void |
mapInstanceDetails(InstanceDetails apiInstanceDetails,
TmodelInstanceInfo modelTmodelInstInfo) |
static void |
mapKeyedReferenceGroup(KeyedReferenceGroup apiKeyedReferenceGroup,
KeyedReferenceGroup modelKeyedReferenceGroup,
CategoryBag modelCategoryBag) |
static void |
mapNode(Node apiNode,
Node modelNode) |
static void |
mapOperationalInfo(UddiEntity model,
OperationalInfo operationalInfo) |
static void |
mapOperationalInfoIncludingChildren(BusinessEntity model,
OperationalInfo operationalInfo) |
static void |
mapOperationalInfoIncludingChildren(BusinessService model,
OperationalInfo operationalInfo) |
static void |
mapOverviewDoc(OverviewDoc apiOverviewDoc,
OverviewDoc modelOverviewDoc) |
static void |
mapPersonNames(List<PersonName> apiPersonNameList,
List<PersonName> modelPersonNameList,
Contact modelContact,
String businessKey) |
static void |
mapPublisher(Publisher apiPublisher,
Publisher modelPublisher) |
static void |
mapPublisherAssertion(PublisherAssertion apiPubAssertion,
PublisherAssertion modelPubAssertion)
note that when using this, it does not reference the instance of the
specific businesses, it will create new ones.
|
static void |
mapPublisherSignatures(List<SignatureType> apiSignatures,
Publisher modelPublisher) |
static void |
mapReplicationConfiguration(ReplicationConfiguration replicationConfiguration,
ReplicationConfiguration model,
javax.persistence.EntityManager em) |
static void |
mapServiceDescriptions(List<Description> apiDescList,
List<ServiceDescr> modelDescList,
BusinessService modelBusinessService) |
static void |
mapServiceNames(List<Name> apiNameList,
List<ServiceName> modelNameList,
BusinessService modelBusinessService) |
static void |
mapSubscription(Subscription apiSubscription,
Subscription modelSubscription) |
static void |
mapTModel(TModel apiTModel,
Tmodel modelTModel) |
static void |
mapTModelDescriptions(List<Description> apiDescList,
List<TmodelDescr> modelDescList,
Tmodel modelTModel) |
static void |
mapTModelIdentifiers(IdentifierBag apiIdentifierBag,
List<TmodelIdentifier> modelIdentifierList,
Tmodel modelTModel) |
static void |
mapTModelInstanceDetails(TModelInstanceDetails apiTModelInstDetails,
List<TmodelInstanceInfo> modelTModelInstInfoList,
BindingTemplate modelBindingTemplate) |
static void |
mapTModelInstanceInfoDescriptions(List<Description> apiDescList,
List<TmodelInstanceInfoDescr> modelDescList,
TmodelInstanceInfo modelTModelInstInfo) |
static void |
mapTModelOverviewDocs(List<OverviewDoc> apiOverviewDocList,
List<OverviewDoc> modelOverviewDocList,
Tmodel modelTmodel) |
static void |
mapTmodelSignatures(List<SignatureType> apiSignatures,
Tmodel modelTmodel) |
public static void mapPublisher(Publisher apiPublisher, Publisher modelPublisher) throws DispositionReportFaultMessage
apiPublisher
- modelPublisher
- DispositionReportFaultMessage
public static void mapBusinessEntity(BusinessEntity apiBusinessEntity, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiBusinessEntity
- modelBusinessEntity
- DispositionReportFaultMessage
public static List<Signature> mapApiSignaturesToModelSignatures(List<SignatureType> apiSignatures) throws DispositionReportFaultMessage
DispositionReportFaultMessage
public static void mapBusinessServiceSignature(List<SignatureType> apiSignatures, BusinessService modelBusinessService) throws DispositionReportFaultMessage
apiSignatures
- modelBusinessService
- DispositionReportFaultMessage
public static void mapTmodelSignatures(List<SignatureType> apiSignatures, Tmodel modelTmodel) throws DispositionReportFaultMessage
apiSignatures
- modelTmodel
- DispositionReportFaultMessage
public static void mapBindingTemplateSignatures(List<SignatureType> apiSignatures, BindingTemplate modelBindingTemplate) throws DispositionReportFaultMessage
apiSignatures
- modelBindingTemplate
- DispositionReportFaultMessage
public static void mapPublisherSignatures(List<SignatureType> apiSignatures, Publisher modelPublisher) throws DispositionReportFaultMessage
apiSignatures
- modelPublisher
- DispositionReportFaultMessage
public static void mapBusinessSignature(List<SignatureType> apiSignatures, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiSignatures
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapBusinessNames(List<Name> apiNameList, List<BusinessName> modelNameList, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiNameList
- modelNameList
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapBusinessDescriptions(List<Description> apiDescList, List<BusinessDescr> modelDescList, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiDescList
- modelDescList
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapDiscoveryUrls(DiscoveryURLs apiDiscUrls, List<DiscoveryUrl> modelDiscUrlList, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiDiscUrls
- modelDiscUrlList
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapContacts(Contacts apiContacts, List<Contact> modelContactList, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiContacts
- modelContactList
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapContactDescriptions(List<Description> apiDescList, List<ContactDescr> modelDescList, Contact modelContact, String businessKey) throws DispositionReportFaultMessage
apiDescList
- modelDescList
- modelContact
- businessKey
- DispositionReportFaultMessage
public static void mapPersonNames(List<PersonName> apiPersonNameList, List<PersonName> modelPersonNameList, Contact modelContact, String businessKey) throws DispositionReportFaultMessage
apiPersonNameList
- modelPersonNameList
- modelContact
- businessKey
- DispositionReportFaultMessage
public static void mapContactEmails(List<Email> apiEmailList, List<Email> modelEmailList, Contact modelContact, String businessKey) throws DispositionReportFaultMessage
apiEmailList
- modelEmailList
- modelContact
- businessKey
- DispositionReportFaultMessage
public static void mapContactPhones(List<Phone> apiPhoneList, List<Phone> modelPhoneList, Contact modelContact, String businessKey) throws DispositionReportFaultMessage
apiPhoneList
- modelPhoneList
- modelContact
- businessKey
- DispositionReportFaultMessage
public static void mapContactAddresses(List<Address> apiAddressList, List<Address> modelAddressList, Contact modelContact) throws DispositionReportFaultMessage
apiAddressList
- modelAddressList
- modelContact
- businessKey
- DispositionReportFaultMessage
public static void mapAddressLines(List<AddressLine> apiAddressLineList, List<AddressLine> modelAddressLineList, Address modelAddress, Long contactId) throws DispositionReportFaultMessage
apiAddressLineList
- modelAddressLineList
- modelAddress
- contactId
- DispositionReportFaultMessage
public static void mapBusinessIdentifiers(IdentifierBag apiIdentifierBag, List<BusinessIdentifier> modelIdentifierList, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiIdentifierBag
- modelIdentifierList
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapBusinessServices(BusinessServices apiBusinessServices, List<BusinessService> modelBusinessServiceList, List<ServiceProjection> modelServiceProjectionList, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiBusinessServices
- modelBusinessServiceList
- modelServiceProjectionList
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapBusinessService(BusinessService apiBusinessService, BusinessService modelBusinessService, BusinessEntity modelBusinessEntity) throws DispositionReportFaultMessage
apiBusinessService
- modelBusinessService
- modelBusinessEntity
- DispositionReportFaultMessage
public static void mapServiceNames(List<Name> apiNameList, List<ServiceName> modelNameList, BusinessService modelBusinessService) throws DispositionReportFaultMessage
apiNameList
- modelNameList
- modelBusinessService
- DispositionReportFaultMessage
public static void mapServiceDescriptions(List<Description> apiDescList, List<ServiceDescr> modelDescList, BusinessService modelBusinessService) throws DispositionReportFaultMessage
apiDescList
- modelDescList
- modelBusinessService
- DispositionReportFaultMessage
public static void mapBindingTemplates(BindingTemplates apiBindingTemplates, List<BindingTemplate> modelBindingTemplateList, BusinessService modelBusinessService) throws DispositionReportFaultMessage
apiBindingTemplates
- modelBindingTemplateList
- modelBusinessService
- DispositionReportFaultMessage
public static void mapBindingTemplate(BindingTemplate apiBindingTemplate, BindingTemplate modelBindingTemplate, BusinessService modelBusinessService) throws DispositionReportFaultMessage
apiBindingTemplate
- modelBindingTemplate
- modelBusinessService
- DispositionReportFaultMessage
public static void mapBindingDescriptions(List<Description> apiDescList, List<BindingDescr> modelDescList, BindingTemplate modelBindingTemplate) throws DispositionReportFaultMessage
apiDescList
- modelDescList
- modelBindingTemplate
- DispositionReportFaultMessage
public static void mapCategoryBag(CategoryBag apiCategoryBag, CategoryBag modelCategoryBag) throws DispositionReportFaultMessage
apiCategoryBag
- modelCategoryBag
- DispositionReportFaultMessage
public static void mapKeyedReferenceGroup(KeyedReferenceGroup apiKeyedReferenceGroup, KeyedReferenceGroup modelKeyedReferenceGroup, CategoryBag modelCategoryBag) throws DispositionReportFaultMessage
apiKeyedReferenceGroup
- modelKeyedReferenceGroup
- modelCategoryBag
- DispositionReportFaultMessage
public static void mapTModelInstanceDetails(TModelInstanceDetails apiTModelInstDetails, List<TmodelInstanceInfo> modelTModelInstInfoList, BindingTemplate modelBindingTemplate) throws DispositionReportFaultMessage
apiTModelInstDetails
- modelTModelInstInfoList
- modelBindingTemplate
- DispositionReportFaultMessage
public static void mapTModelInstanceInfoDescriptions(List<Description> apiDescList, List<TmodelInstanceInfoDescr> modelDescList, TmodelInstanceInfo modelTModelInstInfo) throws DispositionReportFaultMessage
apiDescList
- modelDescList
- modelTModelInstInfo
- DispositionReportFaultMessage
public static void mapInstanceDetails(InstanceDetails apiInstanceDetails, TmodelInstanceInfo modelTmodelInstInfo) throws DispositionReportFaultMessage
apiInstanceDetails
- modelTmodelInstInfo
- DispositionReportFaultMessage
public static void mapOverviewDoc(OverviewDoc apiOverviewDoc, OverviewDoc modelOverviewDoc) throws DispositionReportFaultMessage
apiOverviewDoc
- modelOverviewDoc
- DispositionReportFaultMessage
public static void mapTModel(TModel apiTModel, Tmodel modelTModel) throws DispositionReportFaultMessage
apiTModel
- modelTModel
- DispositionReportFaultMessage
public static void mapTModelDescriptions(List<Description> apiDescList, List<TmodelDescr> modelDescList, Tmodel modelTModel) throws DispositionReportFaultMessage
apiDescList
- modelDescList
- modelTModel
- DispositionReportFaultMessage
public static void mapTModelIdentifiers(IdentifierBag apiIdentifierBag, List<TmodelIdentifier> modelIdentifierList, Tmodel modelTModel) throws DispositionReportFaultMessage
apiIdentifierBag
- modelIdentifierList
- modelTModel
- DispositionReportFaultMessage
public static void mapTModelOverviewDocs(List<OverviewDoc> apiOverviewDocList, List<OverviewDoc> modelOverviewDocList, Tmodel modelTmodel) throws DispositionReportFaultMessage
apiOverviewDocList
- modelOverviewDocList
- modelTmodel
- DispositionReportFaultMessage
public static void mapPublisherAssertion(PublisherAssertion apiPubAssertion, PublisherAssertion modelPubAssertion) throws DispositionReportFaultMessage
apiPubAssertion
- modelPubAssertion
- DispositionReportFaultMessage
public static void mapSubscription(Subscription apiSubscription, Subscription modelSubscription) throws DispositionReportFaultMessage
apiSubscription
- modelSubscription
- DispositionReportFaultMessage
public static void mapClientSubscriptionInfo(ClientSubscriptionInfo apiClientSubscriptionInfo, ClientSubscriptionInfo modelClientSubscriptionInfo) throws DispositionReportFaultMessage
apiClientSubscriptionInfo
- modelClientSubscriptionInfo
- DispositionReportFaultMessage
public static void mapClerk(Clerk apiClerk, Clerk modelClerk)
apiClerk
- modelClerk
- public static ChangeRecord mapChangeRecord(ChangeRecord rec) throws UnsupportedEncodingException
UnsupportedEncodingException
public static void mapOperationalInfo(UddiEntity model, OperationalInfo operationalInfo)
public static void mapOperationalInfoIncludingChildren(BusinessEntity model, OperationalInfo operationalInfo)
public static void mapReplicationConfiguration(ReplicationConfiguration replicationConfiguration, ReplicationConfiguration model, javax.persistence.EntityManager em) throws DispositionReportFaultMessage
DispositionReportFaultMessage
public static void mapOperationalInfoIncludingChildren(BusinessService model, OperationalInfo operationalInfo)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.