///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputPropertyBase">The propertybase to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(PropertyBase inputPropertyBase) { if (SolutionID.GetGuid() != inputPropertyBase.SolutionID.GetGuid()) { return(false); } if (IsNullable.GetBool() != inputPropertyBase.IsNullable.GetBool()) { return(false); } if (Order.GetInt() != inputPropertyBase.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputPropertyBase.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputPropertyBase.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputStageTransition">The stagetransition to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(StageTransition inputStageTransition) { if (StageTransitionName.GetString() != inputStageTransition.StageTransitionName.GetString()) { return(false); } if (FromStageID.GetGuid() != inputStageTransition.FromStageID.GetGuid()) { return(false); } if (ToStageID.GetGuid() != inputStageTransition.ToStageID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputStageTransition.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputStageTransition.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputSpecificationSource">The specificationsource to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(SpecificationSource inputSpecificationSource) { if (SolutionID.GetGuid() != inputSpecificationSource.SolutionID.GetGuid()) { return(false); } if (TemplatePath.GetString() != inputSpecificationSource.TemplatePath.GetString()) { return(false); } if (Order.GetInt() != inputSpecificationSource.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputSpecificationSource.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputSpecificationSource.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputPropertyInstance">The propertyinstance to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(PropertyInstance inputPropertyInstance) { if (ModelPropertyID.GetGuid() != inputPropertyInstance.ModelPropertyID.GetGuid()) { return(false); } if (ObjectInstanceID.GetGuid() != inputPropertyInstance.ObjectInstanceID.GetGuid()) { return(false); } if (Order.GetInt() != inputPropertyInstance.Order.GetInt()) { return(false); } if (PropertyValue.GetString() != inputPropertyInstance.PropertyValue.GetString()) { return(false); } if (IsAutoUpdated.GetBool() != inputPropertyInstance.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputPropertyInstance.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputViewProperty">The viewproperty to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(ViewProperty inputViewProperty) { if (ViewID.GetGuid() != inputViewProperty.ViewID.GetGuid()) { return(false); } if (PropertyID.GetGuid() != inputViewProperty.PropertyID.GetGuid()) { return(false); } if (Order.GetInt() != inputViewProperty.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputViewProperty.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputViewProperty.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputValue">The value to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Value inputValue) { if (ValueName.GetString() != inputValue.ValueName.GetString()) { return(false); } if (EnumValue.GetString() != inputValue.EnumValue.GetString()) { return(false); } if (Order.GetInt() != inputValue.Order.GetInt()) { return(false); } if (EnumerationID.GetGuid() != inputValue.EnumerationID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputValue.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputValue.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputStep">The step to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Step inputStep) { if (StepName.GetString() != inputStep.StepName.GetString()) { return(false); } if (StageID.GetGuid() != inputStep.StageID.GetGuid()) { return(false); } if (Order.GetInt() != inputStep.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputStep.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputStep.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputMethodRelationship">The methodrelationship to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(MethodRelationship inputMethodRelationship) { if (MethodID.GetGuid() != inputMethodRelationship.MethodID.GetGuid()) { return(false); } if (RelationshipID.GetGuid() != inputMethodRelationship.RelationshipID.GetGuid()) { return(false); } if (Order.GetInt() != inputMethodRelationship.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputMethodRelationship.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputMethodRelationship.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputTag">The tag to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Tag inputTag) { if (TagName.GetString() != inputTag.TagName.GetString()) { return(false); } if (IsAutoUpdated.GetBool() != inputTag.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputTag.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputModel">The model to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Model inputModel) { if (ModelName.GetString() != inputModel.ModelName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputModel.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputModel.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputModel.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputEnumeration">The enumeration to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Enumeration inputEnumeration) { if (EnumerationName.GetString() != inputEnumeration.EnumerationName.GetString()) { return(false); } if (ModelID.GetGuid() != inputEnumeration.ModelID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputEnumeration.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputEnumeration.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputObjectInstance">The objectinstance to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(ObjectInstance inputObjectInstance) { if (ParentObjectInstanceID.GetGuid() != inputObjectInstance.ParentObjectInstanceID.GetGuid()) { return(false); } if (ModelObjectID.GetGuid() != inputObjectInstance.ModelObjectID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputObjectInstance.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputObjectInstance.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputView">The view to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(View inputView) { if (ViewName.GetString() != inputView.ViewName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputView.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputView.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputView.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputDiagram">The diagram to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Diagram inputDiagram) { if (DiagramName.GetString() != inputDiagram.DiagramName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputDiagram.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputDiagram.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputDiagram.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputFeature">The feature to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Feature inputFeature) { if (FeatureName.GetString() != inputFeature.FeatureName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputFeature.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputFeature.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputFeature.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }