AccountState#

Fully qualified enumeration name of the UML model LIB 1.0: LibraryDomainModel::DataTypes::Enumerations::AccountState

State of a user account.

Diagram#

Diagram

Enumeration literals#

Enumeration literals
Enumeration Literals#

Name

Description

Active

Closed

Frozen

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

Class

Classes

Account

state

Encodings#

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the enumeration AccountState

 1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
 2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
 3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
 4                  xmi:id="LibraryDomainModel-DataTypes-Enumerations-AccountState"
 5                  xmi:uuid="http://example.org/LIB/1.0/XMI/#AccountState"
 6                  xmi:type="uml:Enumeration">
 7   <ownedComment xmi:id="LibraryDomainModel-DataTypes-Enumerations-AccountState-ownedComment"
 8                  xmi:uuid="http://example.org/LIB/1.0/XMI/#AccountState-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="LibraryDomainModel-DataTypes-Enumerations-AccountState"/>
11      <body>State of a user account.</body>
12   </ownedComment>
13   <name>AccountState</name>
14   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-AccountState-Active"
15                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Active"
16                  xmi:type="uml:EnumerationLiteral">
17      <name>Active</name>
18   </ownedLiteral>
19   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-AccountState-Closed"
20                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Closed"
21                  xmi:type="uml:EnumerationLiteral">
22      <name>Closed</name>
23   </ownedLiteral>
24   <ownedLiteral xmi:id="LibraryDomainModel-DataTypes-Enumerations-AccountState-Frozen"
25                  xmi:uuid="http://example.org/LIB/1.0/XMI/#Frozen"
26                  xmi:type="uml:EnumerationLiteral">
27      <name>Frozen</name>
28   </ownedLiteral>
29</packagedElement>

Fragment for the enumeration AccountState

 1<xs:simpleType name="AccountStateXsdType"
 2               xml:id="AccountStateXsdType">
 3  <!-- based on the UML enumeration LibraryDomainModel::DataTypes::Enumerations::AccountState -->
 4  <xs:annotation>
 5    <xs:documentation>State of a user account.</xs:documentation>
 6  </xs:annotation>
 7  <xs:restriction base="xs:NMTOKEN">
 8    <xs:enumeration value="Active">
 9      <xs:annotation>
10        <xs:documentation></xs:documentation>
11      </xs:annotation>
12    </xs:enumeration>
13    <xs:enumeration value="Closed">
14      <xs:annotation>
15        <xs:documentation></xs:documentation>
16      </xs:annotation>
17    </xs:enumeration>
18    <xs:enumeration value="Frozen">
19      <xs:annotation>
20        <xs:documentation></xs:documentation>
21      </xs:annotation>
22    </xs:enumeration>
23  </xs:restriction>
24</xs:simpleType>

Fragment for the enumeration AccountState (main ontology)

 1# enumeration AccountState
 2# based on the UML enumeration LibraryDomainModel::DataTypes::Enumerations::AccountState
 3lib:AccountState
 4  a rdfs:Class, owl:Class, ucmis:Enumeration;
 5  rdfs:label "AccountState";
 6  rdfs:comment "State of a user account."@en;
 7  
 8.
 9
10lib:Active
11  a lib:AccountState;
12  rdfs:label "Active";
13  
14.
15
16lib:Closed
17  a lib:AccountState;
18  rdfs:label "Closed";
19  
20.
21
22lib:Frozen
23  a lib:AccountState;
24  rdfs:label "Frozen";
25  
26.