Support Q & A

Tag Filter: Filter
Viewing Page 1 of 1 (5 questions out of 5)

How to draw class diagram for the class having getters and setters

1
replies

Hello,

How do I draw the class diagram with getters and setters given below ?

============================================================================================ using System; using BC.Shared.Extensions;

namespace BC.Gopi.Models { public class CountryConfigurationModel { public string CountryIsoCode { get; set; } public string MerchantId { get; set; } public string CurrencyCode { get; set; } public bool ThreeDSecurityEnabled { get; set; } public int CurrencyDecimalDigits { get; set; } public string CreditCardTypes { get; set; } public string SerializedCustomSettings { get; set; }

    private object _customSettings;
    public T GetCustomSettings<T>()
    {
        if (_customSettings == null)
        {
            if (String.IsNullOrEmpty(SerializedCustomSettings))
                throw new Exception("SerializedCustomSettings not found for MerchantProvider with Id = " + MerchantId);
            _customSettings = SerializedCustomSettings.FromJsonString<T>();
        }
        return (T)_customSettings;
    }
}

}

Product: Astah Community

I do not want to show the Visibitity (-,=,# and ~) on the attributes

1
replies

I do not want to show the Visibility (-,=,# and ~) on the attributes or operations for the current class diagram. I can not figure how to stop the Visibility (-,=,# and ~) from appearing.

Regards, Shazam

Using Astah Professional

Product: Astah Professional

Association between imported Java Classes

1
replies

I am using Astah Professional 7.1 to import a Java Project so I can generate the class diagram automaticaly.

But I have a little issue, there are some association relations (when one class depends of some other one via a method) that does not appear on the generated diagram, and I'm not sure if Astah can identify those relations for me. I am aware that those dependencies apear in the traceability map, but it would be usefull for me if I could have them in the class diagram.

Source Code

Class Diagram

Traceability

Product: Astah Professional

How do we represent a generic class in class diagram in UML using Astah Community UML Software

1
replies

Hi,

How do we represent a generic class in class diagram in UML using Astah Community UML Software ?

I have a class as given below

public class TemplateModel<TRequest, TMerchantConfiguration, TAdditionalInfo>

Regards

Deepak Bhatia

Product: Astah Community

How do we represent a public static class in Class Diagram in Astah Community

1
replies

Hi,

How do we represent a public static class in Class Diagram in Astah Community ?

Regards

Deepak Bhatia

Product: Astah Community

Page: 1