Home
last modified time | relevance | path

Searched refs:RoleType (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/dports/devel/umbrello/umbrello-21.12.3/umbrello/uml1model/
H A Dassociation.cpp67 if (m_pRole[RoleType::A] == 0) { in ~UMLAssociation()
71 m_pRole[RoleType::A] = 0; in ~UMLAssociation()
77 m_pRole[RoleType::B] = 0; in ~UMLAssociation()
92 m_pRole[RoleType::A] == rhs.m_pRole[RoleType::A] && in operator ==()
93 m_pRole[RoleType::B] == rhs.m_pRole[RoleType::B]); in operator ==()
230 for (unsigned r = RoleType::A; r <= RoleType::B; ++r) { in load1()
242 Uml::RoleType::Enum role = Uml::RoleType::fromInt(r); in load1()
255 if (obj[RoleType::A] == 0 || obj[RoleType::B] == 0) { in load1()
296 if (isRealization(obj[RoleType::A], obj[RoleType::B])) { in load1()
719 m_pRole[RoleType::A] = new UMLRole (this, roleAObj, RoleType::A); in init()
[all …]
H A Dassociation.h43 UMLRole * getUMLRole(Uml::RoleType::Enum role) const;
44 Uml::ID::Type getObjectId(Uml::RoleType::Enum role) const;
45 Uml::ID::Type getRoleId(Uml::RoleType::Enum role) const;
50 void setObject(UMLObject *obj, Uml::RoleType::Enum role);
51 UMLObject* getObject(Uml::RoleType::Enum role) const;
54 Uml::Visibility::Enum visibility(Uml::RoleType::Enum role) const;
60 QString getMultiplicity(Uml::RoleType::Enum role) const;
62 void setRoleName(const QString &roleName, Uml::RoleType::Enum role);
63 QString getRoleName(Uml::RoleType::Enum role) const;
65 void setRoleDoc(const QString &doc, Uml::RoleType::Enum role);
[all …]
/dports/devel/umbrello/umbrello-21.12.3/unittests/
H A Dtestassociation.cpp81 QCOMPARE(a.getObjectId(Uml::RoleType::A), o1.id()); in test_objectID()
82 QCOMPARE(a.getObjectId(Uml::RoleType::B), o2.id()); in test_objectID()
138 a.setMultiplicity("1", Uml::RoleType::A); in test_multiplicity()
139 a.setMultiplicity("2", Uml::RoleType::B); in test_multiplicity()
149 QCOMPARE(a.getRoleName(Uml::RoleType::A), QString()); in test_roleName()
151 a.setRoleName("test1", Uml::RoleType::A); in test_roleName()
152 a.setRoleName("test2", Uml::RoleType::B); in test_roleName()
162 QCOMPARE(a.getRoleDoc(Uml::RoleType::A), QString()); in test_roleDoc()
163 QCOMPARE(a.getRoleDoc(Uml::RoleType::B), QString()); in test_roleDoc()
164 a.setRoleDoc("test1", Uml::RoleType::A); in test_roleDoc()
[all …]
/dports/www/grafana8/grafana-8.3.6/pkg/models/
H A Dorg_user.go17 type RoleType string type
20 ROLE_VIEWER RoleType = "Viewer"
21 ROLE_EDITOR RoleType = "Editor"
22 ROLE_ADMIN RoleType = "Admin"
25 func (r RoleType) IsValid() bool {
29 func (r RoleType) Includes(other RoleType) bool { argument
41 func (r RoleType) Children() []RoleType {
44 return []RoleType{ROLE_EDITOR, ROLE_VIEWER}
46 return []RoleType{ROLE_VIEWER}
59 *r = RoleType(str)
[all …]
/dports/devel/umbrello/umbrello-21.12.3/umbrello/umlwidgets/
H A Dassociationwidget.cpp281 Uml::RoleType::Enum role = (isCollaboration() ? Uml::RoleType::B : Uml::RoleType::A); in operationOwner()
707 for (unsigned r = RoleType::A; r <= RoleType::B; ++r) { in activate()
740 for (unsigned r = RoleType::A; r <= RoleType::B; ++r) { in activate()
1243 …updateAssociations(m_role[RoleType::A].m_nTotalCount - 1, m_role[RoleType::A].m_WidgetRegion, Role… in cleanup()
1245 …updateAssociations(m_role[RoleType::B].m_nTotalCount - 1, m_role[RoleType::B].m_WidgetRegion, Role… in cleanup()
1781 setRoleName(uml->getRoleName(RoleType::A), RoleType::A); in syncToModel()
1782 setRoleName(uml->getRoleName(RoleType::B), RoleType::B); in syncToModel()
1783 setVisibility(uml->visibility(RoleType::A), RoleType::A); in syncToModel()
1784 setVisibility(uml->visibility(RoleType::B), RoleType::B); in syncToModel()
1785 setChangeability(uml->changeability(RoleType::A), RoleType::A); in syncToModel()
[all …]
H A Dmessagewidget.cpp58 m_pOw[Uml::RoleType::A] = a; in MessageWidget()
134 m_pOw[Uml::RoleType::A] = m_pOw[Uml::RoleType::B] = 0; in init()
336 if(!m_pOw[Uml::RoleType::A] || !m_pOw[Uml::RoleType::B]) { in paint()
703 if (m_pOw[Uml::RoleType::B]->x() > m_pOw[Uml::RoleType::A]->x()) in constrainX()
798 if(m_pOw[Uml::RoleType::A] == w || m_pOw[Uml::RoleType::B] == w) in hasObjectWidget()
813 return (m_pOw[Uml::RoleType::A] && m_pOw[Uml::RoleType::B] && in isSelf()
814 m_pOw[Uml::RoleType::A] == m_pOw[Uml::RoleType::B]); in isSelf()
1286 if (!m_pOw[Uml::RoleType::A] || !m_pOw[Uml::RoleType::B]) { in getMinY()
1290 return m_pOw[Uml::RoleType::A]->y() + m_pOw[Uml::RoleType::A]->height(); in getMinY()
1292 int heightA = m_pOw[Uml::RoleType::A]->y() + m_pOw[Uml::RoleType::A]->height(); in getMinY()
[all …]
H A Dassociationwidget.h104 FloatingTextWidget* roleWidget(Uml::RoleType::Enum role) const;
105 QString roleName(Uml::RoleType::Enum role) const;
106 void setRoleName(const QString &strRole, Uml::RoleType::Enum role);
108 QString roleDocumentation(Uml::RoleType::Enum role) const;
112 QString multiplicity(Uml::RoleType::Enum role) const;
115 Uml::Visibility::Enum visibility(Uml::RoleType::Enum role) const;
122 Uml::ID::Type widgetIDForRole(Uml::RoleType::Enum role) const;
123 Uml::ID::Type widgetLocalIDForRole(Uml::RoleType::Enum role) const;
124 UMLWidget* widgetForRole(Uml::RoleType::Enum role) const;
125 void setWidgetForRole(UMLWidget* widget, Uml::RoleType::Enum role);
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-workdocs/source/model/
H A DRoleType.cpp29 RoleType GetRoleTypeForName(const Aws::String& name) in GetRoleTypeForName()
34 return RoleType::VIEWER; in GetRoleTypeForName()
38 return RoleType::CONTRIBUTOR; in GetRoleTypeForName()
42 return RoleType::OWNER; in GetRoleTypeForName()
46 return RoleType::COOWNER; in GetRoleTypeForName()
52 return static_cast<RoleType>(hashCode); in GetRoleTypeForName()
55 return RoleType::NOT_SET; in GetRoleTypeForName()
62 case RoleType::VIEWER: in GetNameForRoleType()
64 case RoleType::CONTRIBUTOR: in GetNameForRoleType()
66 case RoleType::OWNER: in GetNameForRoleType()
[all …]
/dports/devel/umbrello/umbrello-21.12.3/umbrello/dialogs/pages/
H A Dassociationrolepage.cpp59 QString nameA = m_pAssociationWidget->roleName(Uml::RoleType::A); in constructWidget()
60 QString nameB = m_pAssociationWidget->roleName(Uml::RoleType::B); in constructWidget()
63 QString widgetNameA = m_pAssociationWidget->widgetForRole(Uml::RoleType::A)->name(); in constructWidget()
120 QString multiA = m_pAssociationWidget->multiplicity(Uml::RoleType::A); in constructWidget()
143 switch (m_pAssociationWidget->changeability(Uml::RoleType::A)) { in constructWidget()
169 QString multiB = m_pAssociationWidget->multiplicity(Uml::RoleType::B); in constructWidget()
192 switch (m_pAssociationWidget->changeability(Uml::RoleType::B)) { in constructWidget()
212 m_docA-> setText(m_pAssociationWidget->roleDocumentation(Uml::RoleType::A)); in constructWidget()
222 m_docB->setText(m_pAssociationWidget->roleDocumentation(Uml::RoleType::B)); in constructWidget()
244 m_pAssociationWidget->setRoleName(m_pRoleALE->text(), Uml::RoleType::A); in apply()
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-auditmanager/source/model/
H A DRoleType.cpp27 RoleType GetRoleTypeForName(const Aws::String& name) in GetRoleTypeForName()
32 return RoleType::PROCESS_OWNER; in GetRoleTypeForName()
36 return RoleType::RESOURCE_OWNER; in GetRoleTypeForName()
42 return static_cast<RoleType>(hashCode); in GetRoleTypeForName()
45 return RoleType::NOT_SET; in GetRoleTypeForName()
48 Aws::String GetNameForRoleType(RoleType enumValue) in GetNameForRoleType()
52 case RoleType::PROCESS_OWNER: in GetNameForRoleType()
54 case RoleType::RESOURCE_OWNER: in GetNameForRoleType()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Core/
H A DIdentityBuilder.cs35 => RoleType = role; in IdentityBuilder()
52 public Type RoleType { get; private set; } property in Microsoft.AspNetCore.Identity.IdentityBuilder
167 RoleType = typeof(TRole); field in Microsoft.AspNetCore.Identity.IdentityBuilder.__anon2
170 …eGenericType(UserType), typeof(UserClaimsPrincipalFactory<,>).MakeGenericType(UserType, RoleType)); in MakeGenericType() argument
181 if (RoleType == null)
185 return AddScoped(typeof(IRoleValidator<>).MakeGenericType(RoleType), typeof(TRole));
211 if (RoleType == null)
215 return AddScoped(typeof(IRoleStore<>).MakeGenericType(RoleType), typeof(TStore));
225 if (RoleType == null)
229 var managerType = typeof(RoleManager<>).MakeGenericType(RoleType);
[all …]
/dports/devel/umbrello/umbrello-21.12.3/umbrello/codegenerators/tcl/
H A Dtclwriter.cpp411 … if (a->getObjectId(Uml::RoleType::A) == myId && !a->getRoleName(Uml::RoleType::B).isEmpty()) { in writeAssociationIncl()
412 classifier = a->getObject(Uml::RoleType::B)->asUMLClassifier(); in writeAssociationIncl()
416 } else if (a->getObjectId(Uml::RoleType::B) == myId in writeAssociationIncl()
417 && !a->getRoleName(Uml::RoleType::A).isEmpty()) { in writeAssociationIncl()
418 classifier = a->getObject(Uml::RoleType::A)->asUMLClassifier(); in writeAssociationIncl()
544 … if (a->getObjectId(Uml::RoleType::A) == id && !a->getRoleName(Uml::RoleType::B).isEmpty()) in writeAssociationDecl()
547 … if (a->getObjectId(Uml::RoleType::B) == id && !a->getRoleName(Uml::RoleType::A).isEmpty()) in writeAssociationDecl()
557 … a->getMultiplicity(Uml::RoleType::B), a->getRoleDoc(Uml::RoleType::B), in writeAssociationDecl()
565 … a->getMultiplicity(Uml::RoleType::A), a->getRoleDoc(Uml::RoleType::A), in writeAssociationDecl()
839 if (a->getObjectId(Uml::RoleType::A) == id && !a->getRoleName(Uml::RoleType::B).isEmpty()) in writeAssociationSource()
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-workdocs/include/aws/workdocs/model/
H A DPermissionInfo.h44 inline const RoleType& GetRole() const{ return m_role; } in GetRole()
54 inline void SetRole(const RoleType& value) { m_roleHasBeenSet = true; m_role = value; } in SetRole()
59 inline void SetRole(RoleType&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } in SetRole()
64 inline PermissionInfo& WithRole(const RoleType& value) { SetRole(value); return *this;} in WithRole()
69 inline PermissionInfo& WithRole(RoleType&& value) { SetRole(std::move(value)); return *this;} in WithRole()
104 RoleType m_role;
H A DSharePrincipal.h118 inline const RoleType& GetRole() const{ return m_role; } in GetRole()
128 inline void SetRole(const RoleType& value) { m_roleHasBeenSet = true; m_role = value; } in SetRole()
133 inline void SetRole(RoleType&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } in SetRole()
138 inline SharePrincipal& WithRole(const RoleType& value) { SetRole(value); return *this;} in WithRole()
143 inline SharePrincipal& WithRole(RoleType&& value) { SetRole(std::move(value)); return *this;} in WithRole()
153 RoleType m_role;
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-auditmanager/include/aws/auditmanager/model/
H A DRole.h51 inline const RoleType& GetRoleType() const{ return m_roleType; } in GetRoleType()
71 …inline void SetRoleType(const RoleType& value) { m_roleTypeHasBeenSet = true; m_roleType = value; } in SetRoleType()
81 …inline void SetRoleType(RoleType&& value) { m_roleTypeHasBeenSet = true; m_roleType = std::move(va… in SetRoleType()
91 inline Role& WithRoleType(const RoleType& value) { SetRoleType(value); return *this;} in WithRoleType()
101 inline Role& WithRoleType(RoleType&& value) { SetRoleType(std::move(value)); return *this;} in WithRoleType()
146 RoleType m_roleType;
/dports/devel/umbrello/umbrello-21.12.3/umbrello/codegenerators/java/
H A Djavawriter.cpp496 if (a->getObjectId(Uml::RoleType::A) == id) in writeAssociationDecls()
499 if (a->getObjectId(Uml::RoleType::B) == id) in writeAssociationDecls()
510 …a->getRoleName(Uml::RoleType::B), a->getMultiplicity(Uml::RoleType::B), a->getRoleDoc(Uml::RoleTyp… in writeAssociationDecls()
517 …a->getRoleName(Uml::RoleType::A), a->getMultiplicity(Uml::RoleType::A), a->getRoleDoc(Uml::RoleTyp… in writeAssociationDecls()
572 if (a->getObjectId(Uml::RoleType::A) == thisClass->id()) in writeAssociationMethods()
575 if (!a->getRoleName(Uml::RoleType::B).isEmpty()) { in writeAssociationMethods()
579 … a->getMultiplicity(Uml::RoleType::B), a->getRoleDoc(Uml::RoleType::B), in writeAssociationMethods()
580 a->visibility(Uml::RoleType::B), in writeAssociationMethods()
585 if (a->getObjectId(Uml::RoleType::B) == thisClass->id()) in writeAssociationMethods()
588 if (!a->getRoleName(Uml::RoleType::A).isEmpty()) { in writeAssociationMethods()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/aws/aws-sdk-go-v2/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/security/vault/aws-sdk-go-v2-credentials-v1.1.5/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/security/vault/aws-sdk-go-v2-fdbaadbce5fd/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/aws/aws-sdk-go-v2/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/net-p2p/go-ethereum/aws-sdk-go-v2-be1c89938486/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/net-p2p/go-ethereum/aws-sdk-go-v2-credentials-v1.1.1/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/net-p2p/go-ethereum/aws-sdk-go-v2-a930583ec379/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/security/vault/aws-sdk-go-v2-1.5.0/service/workdocs/types/
H A Denums.go403 type RoleType string type
407 RoleTypeViewer RoleType = "VIEWER"
408 RoleTypeContributor RoleType = "CONTRIBUTOR"
409 RoleTypeOwner RoleType = "OWNER"
410 RoleTypeCoowner RoleType = "COOWNER"
416 func (RoleType) Values() []RoleType {
417 return []RoleType{
/dports/devel/umbrello/umbrello-21.12.3/umbrello/codegenerators/d/
H A Ddwriter.cpp493 if (a->getObjectId(Uml::RoleType::A) == id) in writeAssociationDecls()
496 if (a->getObjectId(Uml::RoleType::B) == id) in writeAssociationDecls()
507 …a->getRoleName(Uml::RoleType::B), a->getMultiplicity(Uml::RoleType::B), a->getRoleDoc(Uml::RoleTyp… in writeAssociationDecls()
514 …a->getRoleName(Uml::RoleType::A), a->getMultiplicity(Uml::RoleType::A), a->getRoleDoc(Uml::RoleTyp… in writeAssociationDecls()
564 if (a->getObjectId(Uml::RoleType::A) == thisClass->id()) { in writeAssociationMethods()
566 if (!a->getRoleName(Uml::RoleType::B).isEmpty()) { in writeAssociationMethods()
570 … a->getMultiplicity(Uml::RoleType::B), a->getRoleDoc(Uml::RoleType::B), in writeAssociationMethods()
571 a->visibility(Uml::RoleType::B), in writeAssociationMethods()
576 if (a->getObjectId(Uml::RoleType::B) == thisClass->id()) { in writeAssociationMethods()
578 if (!a->getRoleName(Uml::RoleType::A).isEmpty()) { in writeAssociationMethods()
[all …]

12345678910>>...24