本文整理汇总了C#中IComplexStructureReferenceObject类的典型用法代码示例。如果您正苦于以下问题:C# IComplexStructureReferenceObject类的具体用法?C# IComplexStructureReferenceObject怎么用?C# IComplexStructureReferenceObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IComplexStructureReferenceObject类属于命名空间,在下文中一共展示了IComplexStructureReferenceObject类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ComplexStructureQueryCore
/// <summary>
/// Initializes a new instance of the <see cref="ComplexStructureQueryCore"/> class.
/// </summary>
/// <param name="structureRef">
/// The structure ref.
/// </param>
/// <param name="queryMetadata">
/// The query metadata.
/// </param>
public ComplexStructureQueryCore(IComplexStructureReferenceObject structureRef, IComplexStructureQueryMetadata queryMetadata)
{
if (structureRef == null)
{
throw new SdmxSemmanticException("StructureRefernce cannot be null");
}
this._structuRef = structureRef;
if (queryMetadata == null)
{
throw new SdmxSemmanticException("StructureQueryMetadata cannot be null");
}
this._queryMetadata = queryMetadata;
}
示例2: GetMutableDataStructureObjects
/// <summary>
/// Gets DataStructureObjects that match the parameters in the ref @object. If the ref @object is null or
/// has no attributes set, then this will be interpreted as a search for all dataStructureObjects
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// list of sdmxObjects that match the search criteria
/// </returns>
public ISet<IDataStructureMutableObject> GetMutableDataStructureObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
var xref = complexRef.GetMaintainableRefObject();
return this._retrievalEngineContainer.DSDRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints());
}
示例3: GetMutableReportingTaxonomyObjects
/// <summary>
/// Gets ReportingTaxonomyObjects that match the parameters in the ref @object. If the ref @object is null or
/// has no attributes set, then this will be interpreted as a search for all ReportingTaxonomyObjects
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// list of sdmxObjects that match the search criteria
/// </returns>
public ISet<IReportingTaxonomyMutableObject> GetMutableReportingTaxonomyObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
return this._retrievalManager.GetMutableReportingTaxonomyObjects(complexRef, returnDetail);
}
示例4: GetMutableProcessObject
/// <summary>
/// Gets a process @object, this expects the ref object either to contain
/// a URN or all the attributes required to uniquely identify the object. If version information
/// is missing then the latest version is assumed.
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.Process.IProcessMutableObject"/> .
/// </returns>
public IProcessMutableObject GetMutableProcessObject(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
return this._retrievalManager.GetMutableProcessObject(complexRef, returnDetail);
}
示例5: GetMutableMetadataStructureObjects
/// <summary>
/// Gets MetadataStructureObjects that match the parameters in the ref @object. If the ref @object is null or
/// has no attributes set, then this will be interpreted as a search for all MetadataStructureObjects
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// list of sdmxObjects that match the search criteria
/// </returns>
public ISet<IMetadataStructureDefinitionMutableObject> GetMutableMetadataStructureObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
return this._retrievalManager.GetMutableMetadataStructureObjects(complexRef, returnDetail);
}
示例6: GetMutableMaintainables
/// <summary>
/// Gets a set of maintainable objects which includes the maintainable being queried for, defined by the StructureQueryObject parameter.
/// </summary>
/// <param name="complexRef">
/// The complex Ref.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <param name="allowedDataflows">
/// The allowed Dataflow.
/// </param>
/// <returns>
/// The <see cref="T:System.Collections.Generic.ISet`1"/> .
/// </returns>
public ISet<IMaintainableMutableObject> GetMutableMaintainables(
IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail, IList<IMaintainableRefObject> allowedDataflows)
{
throw new NotImplementedException();
}
示例7: GetMutableDataStructure
/// <summary>
/// Gets a single DataStructure.
/// This expects the ref object either to contain a URN or all the attributes required to uniquely identify the object.
/// If version information is missing then the latest version is assumed.
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.DataStructure.IDataStructureMutableObject"/> .
/// </returns>
public IDataStructureMutableObject GetMutableDataStructure(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
return this._retrievalManager.GetMutableDataStructure(complexRef, returnDetail);
}
示例8: GetMutableDataflowObjects
/// <summary>
/// Gets DataflowObjects that match the parameters in the ref @object. If the ref @object is null or
/// has no attributes set, then this will be interpreted as a search for all DataflowObjects
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <param name="allowedDataflow">
/// The allowed Dataflow.
/// </param>
/// <returns>
/// list of sdmxObjects that match the search criteria
/// </returns>
public ISet<IDataflowMutableObject> GetMutableDataflowObjects(
IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail, IList<IMaintainableRefObject> allowedDataflow)
{
var xref = complexRef.GetMaintainableRefObject();
return this._retrievalEngineContainer.DataflowRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints(), allowedDataflow);
}
示例9: GetMutableProcessObject
/// <summary>
/// Gets a process @object, this expects the ref object either to contain
/// a URN or all the attributes required to uniquely identify the object. If version information
/// is missing then the latest version is assumed.
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.Process.IProcessMutableObject"/> .
/// </returns>
public IProcessMutableObject GetMutableProcessObject(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
throw new NotImplementedException();
}
示例10: GetMutableMetadataflowObjects
/// <summary>
/// Gets MetadataFlowObjects that match the parameters in the ref @object. If the ref @object is null or
/// has no attributes set, then this will be interpreted as a search for all MetadataFlowObjects
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// list of sdmxObjects that match the search criteria
/// </returns>
public ISet<IMetadataFlowMutableObject> GetMutableMetadataflowObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
throw new NotImplementedException();
}
示例11: GetMutableMetadataStructure
/// <summary>
/// Gets a single MetadataStructure , this expects the ref object either to contain
/// a URN or all the attributes required to uniquely identify the object. If version information
/// is missing then the latest version is assumed.
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.MetadataStructure.IMetadataStructureDefinitionMutableObject"/> .
/// </returns>
public IMetadataStructureDefinitionMutableObject GetMutableMetadataStructure(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
throw new NotImplementedException();
}
示例12: GetMutableMaintainables
/// <summary>
/// Gets a set of maintainable objects which includes the maintainable being queried for, defined by the StructureQueryObject parameter.
/// </summary>
/// <param name="complexRef">
/// The complex Ref.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The <see cref="T:System.Collections.Generic.ISet`1"/> .
/// </returns>
public ISet<IMaintainableMutableObject> GetMutableMaintainables(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
switch (complexRef.ReferencedStructureType.EnumType)
{
case SdmxStructureEnumType.AgencyScheme:
return new HashSet<IMaintainableMutableObject>(this.GetMutableAgencySchemeObjects(complexRef, returnDetail));
case SdmxStructureEnumType.DataConsumerScheme:
return new HashSet<IMaintainableMutableObject>(this.GetMutableDataConsumerSchemeObjects(complexRef, returnDetail));
case SdmxStructureEnumType.DataProviderScheme:
return new HashSet<IMaintainableMutableObject>(this.GetMutableDataProviderSchemeObjects(complexRef, returnDetail));
case SdmxStructureEnumType.Categorisation:
return new HashSet<IMaintainableMutableObject>(this.GetMutableCategorisationObjects(complexRef, returnDetail));
case SdmxStructureEnumType.CategoryScheme:
return new HashSet<IMaintainableMutableObject>(this.GetMutableCategorySchemeObjects(complexRef, returnDetail));
case SdmxStructureEnumType.CodeList:
return new HashSet<IMaintainableMutableObject>(this.GetMutableCodelistObjects(complexRef, returnDetail));
case SdmxStructureEnumType.ConceptScheme:
return new HashSet<IMaintainableMutableObject>(this.GetMutableConceptSchemeObjects(complexRef, returnDetail));
case SdmxStructureEnumType.Dataflow:
return new HashSet<IMaintainableMutableObject>(this.GetMutableDataflowObjects(complexRef, returnDetail));
case SdmxStructureEnumType.HierarchicalCodelist:
return new HashSet<IMaintainableMutableObject>(this.GetMutableHierarchicCodeListObjects(complexRef, returnDetail));
case SdmxStructureEnumType.Dsd:
return new HashSet<IMaintainableMutableObject>(this.GetMutableDataStructureObjects(complexRef, returnDetail));
case SdmxStructureEnumType.MetadataFlow:
return new HashSet<IMaintainableMutableObject>(this.GetMutableMetadataflowObjects(complexRef, returnDetail));
case SdmxStructureEnumType.Msd:
return new HashSet<IMaintainableMutableObject>(this.GetMutableMetadataStructureObjects(complexRef, returnDetail));
case SdmxStructureEnumType.OrganisationUnitScheme:
return new HashSet<IMaintainableMutableObject>(this.GetMutableOrganisationUnitSchemeObjects(complexRef, returnDetail));
case SdmxStructureEnumType.Process:
return new HashSet<IMaintainableMutableObject>(this.GetMutableProcessObjects(complexRef, returnDetail));
case SdmxStructureEnumType.ReportingTaxonomy:
return new HashSet<IMaintainableMutableObject>(this.GetMutableReportingTaxonomyObjects(complexRef, returnDetail));
case SdmxStructureEnumType.StructureSet:
return new HashSet<IMaintainableMutableObject>(this.GetMutableStructureSetObjects(complexRef, returnDetail));
case SdmxStructureEnumType.ProvisionAgreement:
return new HashSet<IMaintainableMutableObject>(this.GetMutableProvisionAgreementBeans(complexRef, returnDetail));
case SdmxStructureEnumType.ContentConstraint:
return new HashSet<IMaintainableMutableObject>(this.GetMutableContentConstraintObjects(complexRef, returnDetail));
default:
throw new SdmxNotImplementedException(ExceptionCode.Unsupported, complexRef.ReferencedStructureType);
}
}
示例13: GetMutableHierarchicCodeListObjects
/// <summary>
/// Gets HierarchicalCodelistObjects that match the parameters in the ref @object. If the ref @object is null or
/// has no attributes set, then this will be interpreted as a search for all HierarchicalCodelistObjects
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// list of sdmxObjects that match the search criteria
/// </returns>
public ISet<IHierarchicalCodelistMutableObject> GetMutableHierarchicCodeListObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
var xref = complexRef.GetMaintainableRefObject();
return this._retrievalEngineContainer.HclRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints());
}
示例14: GetMutableHierarchicCodeList
/// <summary>
/// Gets a single HierarchicCodeList , this expects the ref object either to contain
/// a URN or all the attributes required to uniquely identify the object. If version information
/// is missing then the latest version is assumed.
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.Codelist.IHierarchicalCodelistMutableObject"/> .
/// </returns>
public IHierarchicalCodelistMutableObject GetMutableHierarchicCodeList(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
var xref = complexRef.GetMaintainableRefObject();
return xref.HasVersion()
? this._retrievalEngineContainer.HclRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints()).FirstOrDefault()
: this._retrievalEngineContainer.HclRetrievalEngine.RetrieveLatest(xref, returnDetail.EnumType);
}
示例15: GetMutableContentConstraint
/// <summary>
/// Returns a single Content Constraint, this expects the ref object either to contain
/// a URN or all the attributes required to uniquely identify the object. If version information
/// is missing then the latest version is assumed.
/// </summary>
/// <param name="complexRef">
/// The reference object defining the search parameters.
/// </param>
/// <param name="returnDetail">
/// The return Detail.
/// </param>
/// <returns>
/// The Content constraint.
/// </returns>
public IContentConstraintMutableObject GetMutableContentConstraint(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
{
return this._retrievalManager.GetMutableContentConstraint(complexRef, returnDetail);
}