Add nullable attribute for class in enterprise architecture

I am using enterprise architecture for UML. I need to generate code from a model. I need a double attribute with a double label in the class. I can add a double attribute, but I don’t know how to make it valid.

Does anyone have any ideas how to add a nullable attribute.

+5
source share
1 answer

There are some minor issues with your question, let me first answer the question about EA, and get back to it later.

In UML, you designate a NULL type as

  • + attributeName: TypeName [0..1]]
  • + fromUser: User [0..1]

EA "". - > F9- > - >

- , , 1, [1],

  • [0..1] null.
  • [*] .
  • [1.. *],
  • [n..m], n m. n m

double / , . , Double. , - .

+7

All Articles