blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 227 | content_id stringlengths 40 40 | detected_licenses listlengths 0 28 | license_type stringclasses 2 values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 36 values | visit_date timestamp[us]date 2015-08-14 10:26:58 2023-09-06 06:45:32 | revision_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | committer_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | github_id int64 206k 631M ⌀ | star_events_count int64 0 6.51k | fork_events_count int64 0 1.54k | gha_license_id stringclasses 11 values | gha_event_created_at timestamp[us]date 2012-08-01 17:54:24 2023-09-14 21:57:05 ⌀ | gha_created_at timestamp[us]date 2009-05-21 02:09:00 2023-04-21 10:18:22 ⌀ | gha_language stringclasses 55 values | src_encoding stringclasses 12 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 16 1.74M | extension stringclasses 12 values | code stringlengths 16 1.74M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
39bf0e3c52e92f97783eb1cd6615d24d9cd925e5 | 9fb800bced4689dc1cd56f5fd38f288062d5140c | /src/profile-service/Application/Controllers/ProfilesController.puml | 38b3388cc345a11f028eb65a9797bdd44f57d150 | [] | no_license | converge-app/uml-diagrams | b0638f3b801ced52b650025b1b81d29f4ff345fe | 4202d41a464838d7604062e407b065bf512ad8d6 | refs/heads/master | 2020-11-25T09:53:56.136779 | 2019-12-17T12:11:29 | 2019-12-17T12:11:29 | 228,607,152 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 739 | puml | @startuml
class ProfilesController {
- <<readonly>> _mapper : IMapper
- <<readonly>> _profileRepository : IProfileRepository
- <<readonly>> _profileService : IProfileService
+ ProfilesController(profileService:IProfileService, profileRepository:IProfileRepository, mapper:IMapper)
+ <<async>> Create(profileDto:ProfileCreationDto) : Task<IActionResult>
+ <<async>> Update(profileId:string, profileDto:ProfileUpdateDto) : Task<IActionResult>
+ <<async>> GetAll() : Task<IActionResult>
+ <<async>> GetById(id:string) : Task<IActionResult>
+ <<async>> Delete(id:string) : Task<IActionResult>
+ <<async>> GetByUserId(userId:string) : Task<IActionResult>
}
ControllerBase <|-- ProfilesController
@enduml
|
00418ba05962c1a0339a61e377df03a4ddda2332 | 8a717039f4346cdec1d8581d0e28beb1d27e9060 | /security-requirements/security-model-concept-map.plantuml | 95258109f9cc4ce5dd5c7ab9ea779fa62186d66d | [] | no_license | sysapps/notes | c4f305668cbe7ac01a00ccb2b2d624c15b1b42bc | 5df7a0062d9d7e5137515e6124ea3a93fa0f01b2 | refs/heads/gh-pages | 2021-06-03T20:29:45.272997 | 2019-10-02T02:54:53 | 2019-10-02T02:54:53 | 9,220,370 | 0 | 0 | null | 2013-04-15T13:21:37 | 2013-04-04T14:44:46 | null | UTF-8 | PlantUML | false | false | 2,901 | plantuml | @startuml security-model-concept-map.png
class User << (P,#FF7700) Person >>
abstract class DeviceOwner {
}
class CorporateITDepartment {
}
class Device {
}
class ExecutionEnvironment {
}
class AppInstance {
appdata
}
class PackagedApp {
content
}
class InstalledWebApp {
}
class AppManifest {
}
class PackageManifest {
}
class HostedApp {
}
class Network {
}
class WebServer {
}
class AppStore {
}
class Origin {
scheme
domain
port
}
class AppOrigin {
scheme = "app://"
port = null
}
interface API {
}
User "1..*" --> "1..*" Device : uses
DeviceOwner "1..*" --> "1" Device : controls
User --|> DeviceOwner
NetworkOperator --|> DeviceOwner
Manufacturer --|> DeviceOwner
CorporateITDepartment --|> DeviceOwner
Device "1" <-- "1" ExecutionEnvironment : runs on
AppInstance "0..*" <-- "1" ExecutionEnvironment : executes and controls
ExecutionEnvironment "1" --> "*" API : supports and provides \n access control for
AppInstance "*" --> "*" API : invokes functionality \n defined by
ExecutionEnvironment "*" --> "0..*" Network : connects to
ExecutionEnvironment "*" --> "0..*" WebServer : connects to
AppInstance "1" --> "0..*" WebServer : is authorized to \n connect to
AppInstance "*" --> "1" InstalledWebApp : instantiated from
PackagedApp --|> InstalledWebApp
HostedApp --|> InstalledWebApp
AppInstance "?" --> "1" Origin : has a
WebOrigin "1" <-- HostedApp : has a
WebOrigin --|> Origin
AppOrigin --|> Origin
HostedApp "1..*" --> "1..*" WebServer : loads content from a
PackagedApp "1" --> "1" AppOrigin : has a
PackagedApp "1" --> "1" PackageManifest : has a
InstalledWebApp "1" --> "1" AppManifest : has a
PackagedApp "1" --> "*" Signature : contains
Signature "*" --> "1" Authority : signed by
AppDeveloper --|> Authority
Manufacturer --|> Authority
AppDistributor --|> Authority
InstalledWebApp "*" <-- "1" AppDeveloper : created
InstalledWebApp "1..*" --> "0..*" AppStore : can be found from
AppStore "*" <-- "1" AppDistributor : Owns and manages
@enduml |
5ba2df9ecc2fd86b2962741597bee7bbeb63c0f3 | 7ffe1d4343fc86dc6a0ebbe91d54b4ddfea367fd | /src/main/java/com/example/uml/composition/composition.puml | 4e217ac6a95810839d19ad974afb482bed3dab28 | [] | no_license | liuji789/spring | ccbdbdad8ef1e71a7f5c25698e4d63620d0cc139 | 5b984b3377114946660faf06d5ee959af5fa126a | refs/heads/master | 2022-12-04T17:44:07.306686 | 2022-06-25T14:01:45 | 2022-06-25T14:01:45 | 181,852,744 | 0 | 0 | null | 2022-11-16T03:17:27 | 2019-04-17T08:48:38 | Java | UTF-8 | PlantUML | false | false | 197 | puml | @startuml
class Computer{
-Mouse Mouse = new Mouse()
-Monitor Monitor = new Monitor()
}
class Mouse{
}
class Monitor{
}
Computer *-- Monitor:组合
Computer *-- Mouse:组合
@enduml |
02f39553baf2372a07c2445c6aed4f965fb070ee | 4fceac5ab65719512f05340809dbc90786f0a6aa | /app/src/main/java/com/hzp/hiapp/demo/uml/06_Activity之View树测绘流程分析.puml | 47279fc0d611770ba83bff07348abcb17b36e451 | [] | no_license | hzp201314/HiApp | 13f150e42136a6d53d11276ed062205398990d06 | fe59da6c12265aefdbd4572224dbce14d4e1a2e3 | refs/heads/main | 2023-05-04T22:42:54.353547 | 2021-05-21T03:44:52 | 2021-05-21T03:44:52 | 287,014,176 | 2 | 4 | null | null | null | null | UTF-8 | PlantUML | false | false | 15,067 | puml | @startuml
'https://plantuml.com/sequence-diagram
autonumber
'Activity之View树绘制流程分析
'1
Activity.java -> Activity.java: attach()
activate Activity.java
note left
Activity.java
//7701
attach(...){
//创建PhoneWindow
mWindow = new PhoneWindow(this, window, activityConfigCallback);
}
end note
deactivate Activity.java
'2
Activity.java -> Activity.java: onCreate()
activate Activity.java
note left
Activity.java
//1448
onCreate(Bundle savedInstanceState){
}
end note
deactivate Activity.java
'3
MainActivity.java -> MainActivity.java: onCreate()
activate MainActivity.java
note left
MainActivity.java
//1448
onCreate(Bundle savedInstanceState){
setContentView(R.layout.activity_main)
}
end note
'4
MainActivity.java -> AppCompatActivity.java: setContentView(layoutResID)
activate AppCompatActivity.java
note right
AppCompatActivity.java
//
setContentView(int layoutResID){
getDelegate().setContentView(view, params);
}
end note
'5
AppCompatActivity.java -> AppCompatDelegateImpl.java: getDelegate().setContentView(layoutResID)
activate AppCompatDelegateImpl.java
note right
AppCompatDelegate.java
//抽象方法
abstract setContentView()
AppCompatDelegateImpl.java
//实现方法 551
setContentView(int resId){
//创建 mSubDecor
ensureSubDecor();
// contentParent 是 mSubDecor 的子View
ViewGroup contentParent = mSubDecor.findViewById(android.R.id.content);
contentParent.removeAllViews();
//Activity资源文件布局解析以后的View添加到contentParent中,
//contentParent 是 mSubDecor 的子View,即Activity资源文件View添加到mSubDecor中
LayoutInflater.from(mContext).inflate(resId, contentParent);
mAppCompatWindowCallback.getWrapped().onContentChanged();
}
end note
'6
AppCompatDelegateImpl.java -> AppCompatDelegateImpl.java: ensureSubDecor()
activate AppCompatDelegateImpl.java
note right
AppCompatDelegateImpl.java
ensureSubDecor(){
mSubDecor = createSubDecor();
}
end note
'7
AppCompatDelegateImpl.java -> AppCompatDelegateImpl.java: createSubDecor()
activate AppCompatDelegateImpl.java
note right
AppCompatDelegateImpl.java
createSubDecor(){
//解析当前Activity的主题
//根据当前主题设置是否有Title,ActionBar等等
TypedArray a = mContext.obtainStyledAttributes(R.styleable.AppCompatTheme);
...
final LayoutInflater inflater = LayoutInflater.from(mContext);
//是否有标题,
//<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
//当前设置有Title,mWindowNoTitle=false
if (!mWindowNoTitle) {
//是否是Dialog类型的Activity,显然不是
if (mIsFloating) {
// If we're floating, inflate the dialog title decor
subDecor = (ViewGroup) inflater.inflate(R.layout.abc_dialog_title_material, null);
...
}
//是否有ActionBar,当前设置有ActionBar
else if (mHasActionBar) {
//生成DecorView默认填充布局文件
subDecor = (ViewGroup) LayoutInflater.from(themedContext).inflate(R.layout.abc_screen_toolbar, null);
}
...
}
...
//855 mWindow:PhoneWindow 把DecorView添加到PhoneWindow
mWindow.setContentView(subDecor);
}
end note
'8
AppCompatDelegateImpl.java -> PhoneWindow.java: mWindow.setContentView(subDecor);
activate PhoneWindow.java
note right
Window.java
//抽象类
abstract setContentView(View view);
PhoneWindow.java
//实现类 423
setContentView(View view){
if (mContentParent == null) {
//创建DecorView和ContentParent
installDecor();
} else if (!hasFeature(FEATURE_CONTENT_TRANSITIONS)) {
mContentParent.removeAllViews();
}
//438 把资源文件填充到mContentParent
mLayoutInflater.inflate(layoutResID, mContentParent);
//标记当前Activity是否已经调用setContentView()
//作用:调用requestFeature必须在调用setContentView之前
// public boolean requestFeature(int featureId) {
// if (mContentParentExplicitlySet) {
// throw new AndroidRuntimeException("requestFeature() must be called before adding content");
// }
// }
mContentParentExplicitlySet = true;
}
end note
'9
PhoneWindow.java -> PhoneWindow.java: installDecor();
activate PhoneWindow.java
note right
PhoneWindow.java
installDecor(){
if (mDecor == null) {
//如果DecorView为空,创建DecorView
mDecor = generateDecor(-1);
} else {
mDecor.setWindow(this);
}
if (mContentParent == null) {
//创建ContentParent
mContentParent = generateLayout(mDecor);
}
}
end note
'10
PhoneWindow.java -> PhoneWindow.java: generateDecor();
note right
PhoneWindow.java
//创建DecorView
DecorView generateDecor(){
return new DecorView(context, featureId, this, getAttributes());
}
end note
'11
PhoneWindow.java -> PhoneWindow.java: generateLayout(mDecor);
note right
PhoneWindow.java
//创建ContentParent
generateLayout(DecorView decor){
//获取主题文件,解析设置Title,ActionBar等等
TypedArray a = getWindowStyle();
...
//2629
ViewGroup contentParent = (ViewGroup)findViewById(ID_ANDROID_CONTENT);
return contentParent;
}
end note
'12
PhoneWindow.java --> AppCompatDelegateImpl.java
deactivate PhoneWindow.java
deactivate PhoneWindow.java
deactivate AppCompatDelegateImpl.java
deactivate AppCompatDelegateImpl.java
'13
AppCompatDelegateImpl.java --> AppCompatActivity.java
deactivate AppCompatDelegateImpl.java
'14
AppCompatActivity.java --> MainActivity.java
deactivate AppCompatActivity.java
deactivate MainActivity.java
'15 |----->View测绘流程开始
ActivityThread.java -> ActivityThread.java: handleResumeActivity();
activate ActivityThread.java
note left
ActivityThread.java
handleResumeActivity(){
//调用Activity.onResume()
final ActivityClientRecord r = performResumeActivity(token, finalStateRequest, reason);
...
if (r.window == null && !a.mFinished && willBeVisible) {
//PhoneWindow
r.window = r.activity.getWindow();
//DecorView
View decor = r.window.getDecorView();
//设置DecorView显隐藏为不可见,防止View测绘过程中软键盘弹起导致闪动
decor.setVisibility(View.INVISIBLE);
//WindowManager
ViewManager wm = a.getWindowManager();
WindowManager.LayoutParams l = r.window.getAttributes();
a.mDecor = decor;
...
if (a.mVisibleFromClient) {
if (!a.mWindowAdded) {
a.mWindowAdded = true;
//把DecorView添加到WindowManager中,开启View的布局测量和绘制流程
wm.addView(decor, l);
} else {
...
}
}
...
//显示 DecorView mDecor.setVisibility(View.VISIBLE)) 恢复可见性
r.activity.makeVisible();
}
}
end note
'16
ActivityThread.java -> WindowManagerImpl.java: wm.addView(decor, l);
activate WindowManagerImpl.java
note right
ViewManager.java //抽象类 对View的增删改
addView(View view, ViewGroup.LayoutParams params);//抽象方法
updateViewLayout(View view, ViewGroup.LayoutParams params);
removeView(View view);
WindowManager.java继承ViewManager.java //接口类,并未实现addView()方法
WindowManagerImpl.java //实现类
//93
addView(View view, ViewGroup.LayoutParams params){
mGlobal.addView(view, params, mContext.getDisplay(), mParentWindow);
}
updateViewLayout(...){
mGlobal.updateViewLayout()
}
removeView(...){
mGlobal.removeView()
}
end note
'17
WindowManagerImpl.java -> WindowManagerGlobal.java: mGlobal.addView();
activate WindowManagerGlobal.java
note right
WindowManagerGlobal.java //实现类
//93
addView(View view, ViewGroup.LayoutParams params){
ViewRootImpl root;
//377 实例化ViewRootImpl
// IBinder接口,将window注册到WindowManagerService中
// mWindowSession = WindowManagerGlobal.getWindowSession();
// 当前view的window信息
// mAttachInfo = new View.AttachInfo(mWindowSession, mWindow, display, this, mHandler, this,context);
// 监听垂直同步信号VSYNC
// mChoreographer = Choreographer.getInstance();
// ViewRootImpl功能:
// 1.setView()方法中利用WindowSession将Window添加到WindowManagerService
// 2.页面View树的顶层节点(DecorView的parent),关联Window和View
// 3.利用Choreographer接收Vsync同步信号触发View的三大流程
// 4.利用WindowInputEventReceiver接收屏幕输入事件,分发手势
// 5.利用Choreographer接收Vsync同步信号,触发View的动画重绘
root = new ViewRootImpl(view.getContext(), display);
//方便WindowManager更新或者删除View的时候,还能清理和销毁工作
mViews.add(view);
mRoots.add(root);
mParams.add(wparams);
//view与ViewRoot关联,开启View的布局测量和绘制流程
//如果这个view是从setContentView()方法触发,view=DecorView
//windowManager.addView(view, ...) 普通的view
root.setView(view, wparams, panelParentView);
}
end note
'18
WindowManagerGlobal.java -> ViewRootImpl.java: setView();
activate ViewRootImpl.java
note right
ViewRootImpl.java //实现类 开启View三大流程开始点,也是接收手机屏幕手势到达点,应用中手势分发发源地。
//构造方法
new ViewRootImpl(Context context, Display display) {
//当前页面窗口注册到WMS中
mWindowSession = WindowManagerGlobal.getWindowSession();
//当前View关联的Window信息,是否关联到窗口上,每一个添加到窗口的view都有一个attachInfo
mAttachInfo = new View.AttachInfo(mWindowSession, mWindow, display, this, mHandler, this,context);
//接收系统发送的垂直同步信号,60Hz 16.7ms
mChoreographer = Choreographer.getInstance();
}
//93
setView(...){
//853 窗口注册到WMS之前开启一次布局和测绘工作
requestLayout();
//输入事件接收通道,向运行在Server进程InputManagerService注册监听,当屏幕输入事件到达时回调给应用
mInputChannel = new InputChannel();
//864 向WMS注册本页面窗口
res = mWindowSession.addToDisplay(mWindow, mSeq, mWindowAttributes,
getHostVisibility(), mDisplay.getDisplayId(), mTmpFrame,
mAttachInfo.mContentInsets, mAttachInfo.mStableInsets,
mAttachInfo.mOutsets, mAttachInfo.mDisplayCutout, mInputChannel,
mTempInsets);
}
end note
'19
ViewRootImpl.java -> ViewRootImpl.java: requestLayout();
activate ViewRootImpl.java
note left
ViewRootImpl.java
requestLayout(){
//检查当前线程
//不能在子线程更新UI,
//对View的更新涉及到view.requestLayout();view.postInvalidate();会调用到ViewRootImpl中
//ViewRootImpl在onCreate的时候还没有创建,就不会有线程检查,此时在子线程更新UI并不会报错。
//部分子线程更新UI是可以成功的,不会报错。子线程创建View,绑定数据等到页面进入直接展示视图
//拓展:当应用进入WelcomeActivity的时候从本地缓存中读取数据开启子线程创建View并且绑定数据,
// 然后缓存到ViewPool中,当我们跳转到首页时,首页的View已经全部创建好了,直接从ViewPool中获取,
// 大大提高页面展示速度.
//throw new CalledFromWrongThreadException("Only the original thread that created a view hierarchy can touch its views.");
checkThread();
mLayoutRequested = true;
//安排任务执行
scheduleTraversals();
}
end note
'20
ViewRootImpl.java -> ViewRootImpl.java: scheduleTraversals();
activate ViewRootImpl.java
note left
ViewRootImpl.java
scheduleTraversals(){
if (!mTraversalScheduled) {
//过滤同一帧内多次重复请求,防止多次测绘布局绘制
mTraversalScheduled = true;
//屏障消息:为了让异步消息优先执行,使得ViewRootImpl中UI测量,布局,绘制尽早执行。
mTraversalBarrier = mHandler.getLooper().getQueue().postSyncBarrier();
//异步消息:每次垂直信号到达执行mTraversalRunnable.run()方法
mChoreographer.postCallback(Choreographer.CALLBACK_TRAVERSAL, mTraversalRunnable, null);
}
}
end note
'21
ViewRootImpl.java -> Choreographer.java: mChoreographer.postCallback();
activate Choreographer.java
note right
Choreographer.java
//416
postCallback(){
postCallbackDelayed(callbackType, action, token, 0);
}
//435
postCallbackDelayed(){
postCallbackDelayedInternal(callbackType, action, token, delayMillis);
}
//447
postCallbackDelayedInternal(){
if (dueTime <= now) {
scheduleFrameLocked(now);
} else {
Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_CALLBACK, action);
msg.arg1 = callbackType;
//异步消息
msg.setAsynchronous(true);
//发送异步消息
mHandler.sendMessageAtTime(msg, dueTime);
}
}
end note
'22
Choreographer.java --> ViewRootImpl.java
deactivate Choreographer.java
'23
ViewRootImpl.java -> ViewRootImpl.java: mTraversalRunnable.run();
activate ViewRootImpl.java
note left
ViewRootImpl.java
final TraversalRunnable mTraversalRunnable = new TraversalRunnable();
final class TraversalRunnable implements Runnable {
@Override
public void run() {
doTraversal();
}
}
doTraversal(){
if (mTraversalScheduled) {
mTraversalScheduled = false;
//移除屏障消息
mHandler.getLooper().getQueue().removeSyncBarrier(mTraversalBarrier);
//根据当前页面的View树判断有没有发生变化,需不需要重新测绘布局绘制
performTraversals();
}
}
end note
'24
ViewRootImpl.java -> ViewRootImpl.java: performTraversals();
activate ViewRootImpl.java
note left
ViewRootImpl.java
performTraversals(){
//2541 测量
performMeasure(childWidthMeasureSpec, childHeightMeasureSpec);
//2590 布局
performLayout(lp, mWidth, mHeight);
//2755 绘制
performDraw();
}
private void performMeasure(int childWidthMeasureSpec, int childHeightMeasureSpec) {
//DecorView 测量
mView.measure(childWidthMeasureSpec, childHeightMeasureSpec);
}
private void performLayout() {
//DecorView 布局
final View host = mView;
host.layout(0, 0, host.getMeasuredWidth(), host.getMeasuredHeight());
}
private void performDraw() {
boolean canUseAsync = draw(fullRedrawNeeded);
}
private boolean draw(boolean fullRedrawNeeded) {
//3638
drawSoftware(...)
}
drawSoftware(...){
//3730 绘制
mView.draw(canvas);
}
end note
'25
ViewRootImpl.java --> ActivityThread.java:
deactivate ViewRootImpl.java
deactivate ViewRootImpl.java
deactivate ViewRootImpl.java
deactivate ViewRootImpl.java
deactivate ViewRootImpl.java
deactivate WindowManagerGlobal.java
deactivate WindowManagerImpl.java
deactivate ActivityThread.java
@enduml |
86f9758e02947ff27e64f692bba8eebea10d7fa4 | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/out/test/test/org/concordion/internal/parser/support/support.plantuml | 1dccdfe082e14c82cecd512cac425956a367de90 | [
"WTFPL"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,005 | plantuml | @startuml
title __SUPPORT's Class Diagram__\n
package org.concordion {
package org.concordion.internal {
package org.concordion.internal.parser.support {
class ConciseExpressionParserTest {
- parser : ConciseExpressionParser
+ shorthandSet()
+ shorthandAssertEquals()
+ shorthandAssertEqualsWithText()
+ shorthandExecute()
+ shorthandExecuteWithText()
+ shorthandExecuteAndSetWithText()
+ nonShorthandCommand()
+ nonShorthandCommandWithAttribute()
+ commandValue()
+ commandValueMultiWord()
+ commandValueWithAttribute()
+ commandValueMultiWordWithAttribute()
+ commandWithNamepace()
}
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
9fc9a916d9adc0c6d511cbf9ff05bfeefb203b37 | 3cdb6adfdaed54bdf50c6adf89ed9d1653d637a3 | /app/src/main/java/com/shuyun/androidnotes/components/lifecycle/lifecycle_common_simple.puml | 73678483b90692d60fffdc9007a7ec042c2be315 | [] | no_license | Shuyun6/AndroidNotes | c3b26a48239a9f2397fdf9d057d7d9dd27df2417 | 5573b4749f7ecce77997eb8166a4d651b93fdfe4 | refs/heads/master | 2020-03-19T11:18:36.156844 | 2020-03-09T15:06:15 | 2020-03-10T15:07:34 | 136,442,024 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,806 | puml | @startuml
abstract class Lifecycle{
+ addObserver(observer : LifecycleObserver) : void
+ removeObserver(observer : LifecycleObserver) : void
+ getCurrentState() : State
}
interface LifecycleObserver{
}
annotation OnLifecycleEvent
interface LifecycleOwner{
getLifecycle() : Lifecycle
}
class ClassesInfoCache{
sInstance : ClassesInfoCache
- mCallbackMap : Map<Class, CallbackInfo>
- mHasLifecycleMethods : Map<Class, Boolean>
hasLifecycleMethods(klass : Class) : boolean
- getDeclaredMethods(klass : Class) : Method[]
getInfo(klass : Class) : CallbackInfo
- verifyAndPutHandler(handlers : Map<MethodReference, Lifecycle.Event>,
newHandler : MethodReference, newEvent Lifecycle.Event, klass Class)
- createInfo(klass : Class, declaredMethods : Method[])
}
interface FullLifecycleObserver{
onCreate(owner : LifecycleOwner) : void
onStart(owner : LifecycleOwner) : void
onResume(owner : LifecycleOwner) : void
onPause(owner : LifecycleOwner) : void
onStop(owner : LifecycleOwner) : void
onDestroy(owner : LifecycleOwner) : void
}
class FullLifecycleObserverAdapter{
- mObserver : FullLifecycleObserver
FullLifecycleObserverAdapter(observer : FullLifecycleObserver)
onStateChanged(source : LifecycleOwner, event : Lifecycle.Event) : void
}
class ReflectiveGenericLifecycleObserver{
- mWrapped : Object
- mInfo : CallbackInfo
ReflectiveGenericLifecycleObserver(wrapped : Object)
onStateChanged(source : LifecycleOwner, event : Lifecycle.Event) : void
}
'/Relationship
Lifecycle -> LifecycleObserver
LifecycleObserver -> OnLifecycleEvent
LifecycleObserver <|-- FullLifecycleObserver
FullLifecycleObserver <.. FullLifecycleObserverAdapter
LifecycleOwner <- FullLifecycleObserver
ReflectiveGenericLifecycleObserver --> ClassesInfoCache
LifecycleObserver <|.. ReflectiveGenericLifecycleObserver
@enduml |
c6885b58b0e4206fa145538672ea4a292b432686 | a3faded5a55bc21be298300d143d41f6e50a9ce6 | /action-interpreter-design/解释器模式-uml.puml | dbcd9441f4b7b58229b1d6d6a989130ed68597d2 | [] | no_license | qiding1991/design-pattern | 7c506e5d4abd1f010751f644888d422cd01dbf36 | 696fd672b0badbeab9fda8aa57c42fe8bbfe55e1 | refs/heads/master | 2021-07-16T03:15:50.424962 | 2019-10-23T13:41:05 | 2019-10-23T13:41:05 | 215,778,627 | 0 | 1 | null | 2020-10-13T16:56:06 | 2019-10-17T11:44:06 | Java | UTF-8 | PlantUML | false | false | 642 | puml | @startuml
abstract class AbstractExpression{
+ interpreter(String info):Object
}
class TerminalExpression{
+ interpreter(String info):Object
}
class NonTerminalExpression{
- expr1: AbstractExpression
- expr2: AbstractExpression
+ interpreter(String info):Object
}
class Context{
- expr1: AbstractExpression
+ Context():void
+ operation(String info):void
}
Context o- AbstractExpression
AbstractExpression <|.. TerminalExpression
AbstractExpression <|.. NonTerminalExpression
AbstractExpression ..o NonTerminalExpression
@enduml |
037d33974e762031121b20ccf87f92a7e9f76ee0 | 62a61ebb8096ca511584d6429d101949444d972a | /testinglearning/src/main/java/com/testinglearning/experiement/PageTest.puml | f8022bdac17d72644ae91708ed98561babf1903a | [] | no_license | simonpatrick/simple | da3c4b524ecd2aa88875405dccd9769ba9d1208c | 89961c58feab6559278fe46f52fc9b7707e35b59 | refs/heads/master | 2015-08-14T10:26:58.842889 | 2014-12-18T10:24:26 | 2014-12-18T10:24:26 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 269 | puml | @startuml
abstract class BasePage
interface Flow
interface PageCheckPoint
interface SinglePageAction
BasePAge<|- BaiDuHomePage
SinglePageAction<|-- BaiDuHomePageAction
class BaiDuHomePageAction{
List<BaiDuPageCheckPoint> pageCheckPoints
fillPage()
}
@enduml |
24e3bfdd368d8085cd03ac33833305e2a52e5f41 | d4ad3ddd117d1cf9283793825a09764a45285822 | /doc/SolidEngine.puml | 6782a5785ad60571f93b77ef1bd9c7848d5e0510 | [] | no_license | BenjaminGirard/SolidEngine | 0709e9c4abf03933f6c24f8bb76e7fc625b54298 | 7bc7c09cdf2e4d822dce1d62d8b2a06d03c6e70a | refs/heads/master | 2021-01-24T22:44:00.054504 | 2018-02-28T13:04:54 | 2018-02-28T13:04:54 | 123,281,726 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,012 | puml | @startuml
note as N1
<color:blue>Sptr</color> is a typedef for std::shared_ptr.
<color:blue>Uptr</color> is a typedef for std::unique_ptr.
end note
together {
class EntityManager
class Mediator
class SystemManager
}
together {
class ASystem
class AEntity
}
class Manager {
- EntityManager _em
- SystemManager _sm
- Sptr<Mediator> _mediator
__ Methods __
+ AEntity &addEntity()
+ void removeEntity(const Sptr<AEntity> &entity)
+ T &addSytem<T>()
+ void addComponent(AEntity &entity)
+ void removeComponent(AEntity &entity)
+ void executeSystems()
}
abstract class ASystem {
# std::vector<Sptr<AEntity>> _entityVec
# std::vector<std::type_index> _requiredComp
# const uint64_t _id;
# Sptr<Mediator> _mediator
__ Methods __
+ virtual void execute() = 0
+ void addEntity(const Sptr<AEntity> &entity)
+ void delEntity(const Sptr<AEntity> &entity)
+ bool hasEntity(const Sptr<AEntity> &entity)
.. Getters ..
+ const std::vector<Sptr<AEntity>> &getEntityVec() const
+ const std::vector<std::type_index> &getRequiredComp() const
+ const std::vector<std::type_index> &getSortedRequiredComp()
+ const uint64_t &getId() const
}
abstract class AEntity {
# std::unordered_map<std::type_index, Sptr<AComponent>> _compMap
# std::vector<std::type_index> _compTypes
# const uint64_t _id
# Sptr<Mediator> _mediator
__ Methods __
+ T &getComp<T>()
+ T &addComp<T>()
+ T &addComp<T, ...Args>(Args && ...args)
+ void delComp<T>()
- void addComponent()
- void removeComponent()
- T &addComp<T>(Uptr<T> &&component)
.. Getters ..
+ const auto &getCompMap() const
+ const std::vector<std::type_index> &getCompTypes() const
+ const std::vector<std::type_index> &getSortedCompTypes()
+ uint64_t getId() const
}
class Component {
# const std::type_index _typeIndex
__ Methods __
.. Getters ..
+ const std::type_index &getTypeIndex() const
}
class EntityManager {
- std::unordered_map<uint64_t, Sptr<AEntity>> _entities
__ Methods __
+ void addEntity(const Sptr<AEntity> &entity)
+ void removeEntity(const uint64_t id)
+ auto getEligibleEntities(const std::vector<std::type_index> &sortedRequirements)
}
class SystemManager {
- std::unordered_map<uint64_t, Sptr<ASystem>> _sytems
__ Methods __
+ void addSystem(const Sptr<ASystem> &sys)
+ void removeSystem(const Sptr<ASystem> &sys)
+ void addEntityToAppropriateSystems(const Sptr<AEntity> &entity)
+ void removeEntityToAppropriateSystems(const Sptr<AEntity> &entity)
+ void removeEntityToAllSystems(const Sptr<AEntity> &entity)
.. Getters ..
+ const auto &getSystems() const
}
class Mediator {
- Manager *_manager
__ Methods __
+ void pingDeleteEntity(Sptr<AEntity> &entity)
+ void pingCreateEntity()
+ void pingDeleteComponent(AEntity &entity)
+ void pingCreateComponent(AEntity &entity)
}
ASystem "1" *-- Mediator
AEntity "1" *-- Mediator
Manager "1" *-- Mediator
Manager "1" *-- EntityManager
Manager "1" *-- SystemManager
SystemManager "0..*" *-- "map<ASystem>" ASystem
EntityManager "0..*" *-- "map<AEntity>" AEntity
AEntity "0..*" *-- "map<AComponent>" Component
@enduml |
39f0f49b747c634d6fef07da36f8f3b668cf79a1 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Runtime/Animation/AnimationOutputWeightProcessor.puml | b1dca53ae1ba46ea34db43597dc38d2c6e12fe8d | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 713 | puml | @startuml
class AnimationOutputWeightProcessor {
+ AnimationOutputWeightProcessor(output:AnimationPlayableOutput)
FindMixers() : void
FindMixers(parent:Playable, port:int, node:Playable) : void
+ Evaluate() : void
}
class WeightInfo <<struct>> {
+ port : int
}
class "List`1"<T> {
}
ITimelineEvaluateCallback <|-- AnimationOutputWeightProcessor
AnimationOutputWeightProcessor --> "m_Output" AnimationPlayableOutput
AnimationOutputWeightProcessor --> "m_MotionXPlayable" AnimationMotionXToDeltaPlayable
AnimationOutputWeightProcessor o-> "m_Mixers<WeightInfo>" "List`1"
AnimationOutputWeightProcessor +-- WeightInfo
WeightInfo --> "mixer" Playable
WeightInfo --> "parentMixer" Playable
@enduml
|
bdcd672454448b65ad14ef59571c5d4243774a09 | 1e557a8d0b755ce2d66458e43dcd426dd8f27fec | /问题优化与总结/体验/吸入动画.plantuml | 082679e124d16fa277df75eea5dd9b166895ffcc | [] | no_license | rickgit/rickgit.github.io | 94ff804637d1fe891583c9c1513a9b65b86361f5 | 5891f01bdd8ca1231cd9977a68960e11e28688f4 | refs/heads/master | 2023-08-29T21:35:00.999632 | 2023-08-12T04:40:16 | 2023-08-12T04:40:16 | 52,088,713 | 4 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 866 | plantuml | @startuml
/'
bitmap:需要扭曲的原位图
meshWidth/meshHeight:在横/纵向上把原位图划分为多少格
verts:长度为(meshWidth+1)*(meshHeight+2)的数组,他记录了扭曲后的位图各顶点(网格线交点) 位置,
虽然他是一个一维数组,但是实际上它记录的数据是形如(x0,y0),(x1,y1)..(xN,Yn)格式的数据, 这些数组元素控制对bitmap位图的扭曲效果
vertOffset:控制verts数组从第几个数组元素开始对bitmap进行扭曲(忽略verOffset之前数据 的扭曲效果)
'/
class Canvas{
+ void concat(Matrix matrix);
+ drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, Paint paint)
}
class Path{
}
class PathMeasure{
setPath()
getPosTan()
}
class ValueAnimator{
}
@enduml |
15622e3f34ee74502d048982f417a9138c878c00 | 9e6c0c26b5a2d2c372ab7d67c4dbe18f728666a3 | /docs/step-2-extract-search.puml | 4c883a4772b4c7046e347ff8560a65c1b6abb24d | [] | no_license | deanbaker/refactor-interfaces-java | 6366d12bcc5b8ebfc1b34b545bcd1687288a5a75 | 9d042480338dccd0066e19d7595a4750bbada3ad | refs/heads/main | 2023-08-08T09:33:24.890340 | 2021-06-29T12:27:32 | 2021-06-29T12:27:32 | 381,354,590 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 868 | puml | @startuml
interface DomainService extends DomainSearchService{
String create(String str);
String update(Long id, String str);
void deleteOtherDomain(Long id)
}
note left of DomainService: interface DomainService \nextends DomainSearchService
interface DomainSearchService {
String findById(Long id);
List<String> findByName(String name);
}
class DomainServiceImpl implements DomainService {
String findById(Long id);
List<String> findByName(String name);
String create(String str);
String update(Long id, String str);
void deleteOtherDomain(Long id)
}
class DomainController {
DomainService service
String findById(Long id)
}
DomainController *-- DomainService : Injected
note left of DomainServiceImpl: No change to \nimplementation
note left of DomainController: No change to \nimplementation
@enduml
|
d615e1f1f4097dd5cb7ae9c3628e62a03110af08 | 30ab844df92c30413f8ce3341c014b4ba9ede543 | /src/ro/design/HRUML.puml | e70aa797eba448e2ef6c53700c77a9e444252166 | [] | no_license | LoghinVladDev/JavaLab4 | 28485de74a261c9b2cfdba1892e1785106bea150 | 07ca973efeef1dc19b07f4ce9cc34f99bde3c15b | refs/heads/master | 2022-04-09T04:22:10.158286 | 2020-03-08T18:57:18 | 2020-03-08T18:57:18 | 245,483,599 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,807 | puml | @startuml
abstract class Element
class Hospital extends Element
class Resident extends Element
class Problem
class Matching
class Partition
class Element
class Solution
class GaleShapely implements Algorithm
class Builder
interface Algorithm
Builder +-- Problem
Resident "1" o-- "1..." Hospital : prefers
Hospital "1" o-- "1..." Resident : prefers
Problem "1" *-- "1..." Resident : contains
Problem "1" *-- "1..." Hospital : contains
Problem "1" o-- "1..." Solution : has
Problem "1" *-- "2" Partition : creates
Solution "1" o-- "1" Matching : has
Problem "1" *-- "1" GaleShapely
GaleShapely "1" *-- "1..." Solution : generates
GaleShapely "1" *-- "1..." Matching : creates
Partition "1" o-- "1..." Element
class Solution{
Matching matching : private
Solution(Matching) : public
String toString() : public
}
class Matching{
Set<Pair<Element, Element>> edges : private
Matching() : public
void addEdge(Element, Element) : public
Matching addAllEdges(Partition) : public
Set<Pair<Element, Element>> getEdges() : public
}
class Partition{
Set<Element> V : private
Partition(Set<Hospital>) : public
Partition(List<Resident>) : public
Set<Element> getV() : public
String toString() : public
}
class Resident{
Map<Integer, Hospital> preferences : private
Resident(String) : public
void setPreferences(Hospital ...) : public
}
class Hospital{
Map<Integer, Resident> preferences : private
Hospital(String, Integer) : public
void setPreferences(Resident ...) : public
}
abstract class Element{
Integer capacity : protected
String name : protected
Set<Element> assignedTo : protected
Set<Element> tryouts : protected
Element(String, Integer) : protected
Set<Element> getTryouts() : public
Set<Element> getAssignedTo() : public
void free() : public
boolean canAssign() : public
void assign() : public
String getName() : public
boolean equals(Element) : public
Integer getCapacity() : public abstract
Map<Integer, ?> getPreferences() : public abstract
String toString() : public abstract
Element getNextTryout() : public abstract
Element getLeastAppealingAssignee() : public abstract
Integer getPreference() : public abstract
}
class Problem{
Partition s : private
Partition t : private
ArrayList<Resident> residents : private
TreeSet<Hospital> hospitals : private
GaleShapely algorithm : private
Problem() : private
List<Resident> getResidents() : public
Set<Hospital> getHospitals() : public
String toString() : public
void printPreferences() : public
void printResidentsPreferences() : public
void printHospitalsPreferences() : public
String preferencesToString() : private
String residentsPreferencesToString() : private
String hospitalsPreferencesToString() : private
Partition getS() : public
Partition getT() : public
Algorithm getAlgorithm() : public
}
class Builder{
List<Resident> residents : private
Set<Hospital> hospitals : private
Builder withHospitals(Hospital ...) : public
Builder withResidents(Resident ...) : public
Problem build() : public
}
class GaleShapely{
Problem p : private
long startTime : private
long finishTime : private
GaleShapely(Problem) : public
}
interface Algorithm{
void start()
Solution getSolution()
long getNanoRuntime()
double getRuntime()
}
@enduml
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
} |
18914ba600e50a0ef25f2fce977a41300a46f1cf | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/out/test/test/spec/concordion/specificationType/markdown/markdown.plantuml | 8a91c89b60190f6edaf3e75f19c4babbf40eb71b | [
"WTFPL"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,062 | plantuml | @startuml
title __MARKDOWN's Class Diagram__\n
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownAssertEqualsCommandFixture {
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownExampleCommandFixture {
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownExecuteCommandFixture {
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownFixture {
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownGrammarFixture {
~ markdownParser : MarkdownParser
+ MarkdownGrammarFixture()
+ translate()
+ foo()
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownRunCommandFixture {
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownSetCommandFixture {
}
}
}
}
package spec.concordion {
package spec.concordion.specificationType {
package spec.concordion.specificationType.markdown {
class MarkdownVerifyRowsCommandFixture {
}
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
ea02b52d4d09f3901d0d9c58b3f9ff0f62049fa5 | 9447cee18c909bb8d01580e84d52bdc5f0a85d4c | /decorator.puml | a41798f2767472a3b74aba972270c13722155cf9 | [] | no_license | metachars/graphsystem | a28e4cf576f1e2c0d877d7201cde492df584c43c | b332b6b10e0bdad6a7684249af21074feb4a39c1 | refs/heads/master | 2020-04-01T16:43:01.617973 | 2018-10-17T04:54:08 | 2018-10-17T04:54:08 | 153,394,632 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 205 | puml | @startuml
class Component {
method()
}
ConcreteComponent -up-|> Component
class Decorator {
component
}
Decorator -up-|> Component
Decorator o--> Component
Decorator <|-- ConcreteDecorator
@enduml |
ea009daef5afb4afb4686a1b48fd4715f524b321 | 901221ede6dd968080c2e7422b4afe396071014d | /docs/parsingDiagram.puml | e3351b6a5c27859198b97ef1613343ca24d78ddb | [] | no_license | TraningCenter2017-2018/aqua-thor_kovalenko-elfimova | 96cfa4cdf74bc9712c77b345892ccca6ee2c43c7 | 9c3f22f05ce620b3e2a560966fba86e7f9c1c423 | refs/heads/master | 2021-09-03T13:19:16.999686 | 2018-01-09T10:12:08 | 2018-01-09T10:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,237 | puml | @startuml
JaxBParser -up-|> IXMLParser
SaxParser -up-|> IXMLParser
StaxParser -up-|> IXMLParser
DomParser -up-|> IXMLParser
IXMLParser .up.> OceanConfig: read
IXMLParser .up.> IMetric: write
class OceanConfig{
- int height
- int weight
- boolean isTor
- listOfFlow<Flow>
- int changeFlow
- listOfSharks<IFish>
- listOfSmallFishes<IFish>
}
interface IMetric{
+ void calculateValue(Ocean o)
+ String getName()
}
interface IXMLParser {
+ void read(OceanConfig)
+ void write(Metric m)
}
class JaxBParser {
+ void read(OceanConfig)
+ void write(Metric m)
}
class DomParser {
+ void read(OceanConfig)
+ void write(Metric m)
- DocumentBuilder createDocumentBuilder()
- void parse(Document document)
- Element createElement()
}
class SaxParser {
+ void read(OceanConfig)
+ void write(Metric m)
- SAXParserFactory createSAXParserFactory()
- void parse(fileName, DefaultHandler)
- void startElement()
- void characters()
- void endElement()
- void writeElement()
}
class StaxParser {
+ void read(OceanConfig)
+ void write(Metric m)
- XMLStreamReader createXMLStreamReader()
- void readElement()
- XMLStreamWriter createXMLStreamWriter()
- void writeElement()
}
@enduml
|
4bd9e4243a37d4537867f80a509c52cbba5a23e7 | 1cf4490d48f50687a8f036033c37d76fec39cd2b | /src/main/java/global/skymind/solution/advanced/gui/swing/ex6/ex6.plantuml | c96fe6ad891487d6c27479e4a1a9791d5448d8c7 | [
"Apache-2.0"
] | permissive | muame-amr/java-traininglabs | 987e8b01afbaccb9d196f87c4a8a6b9a46a4cc83 | a93268f60e6a8491b1d156fae183a108ff0d9243 | refs/heads/main | 2023-08-06T10:04:57.996593 | 2021-09-28T11:21:00 | 2021-09-28T11:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 716 | plantuml | @startuml
title __EX6's Class Diagram__\n
namespace global.skymind {
namespace solution.advanced.gui.swing.ex6 {
class global.skymind.solution.advanced.gui.swing.ex6.MySFileChooser {
~ button : JButton
+ actionPerformed()
{static} + main()
+ start()
}
}
}
global.skymind.solution.advanced.gui.swing.ex6.MySFileChooser .up.|> java.awt.event.ActionListener
global.skymind.solution.advanced.gui.swing.ex6.MySFileChooser -up-|> javax.swing.JFrame
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
61f46002b5c7eef7974e42fdcdd208197933cb11 | afb3f6a879f0e70c9e8979fbdc85057932bd3291 | /src/main/resources/uml/entityClassDiagrams.puml | 85d7f73b936fa3082ed2917d0dfb70d37b4dadec | [] | no_license | ipa-mosit/ARSIV-AMS2 | be6e3cb0388c33b9cbfc653ceb961ffdb6595762 | 17d8320e4b4e951999091a40c2d667445e440537 | refs/heads/master | 2022-12-06T20:59:11.137250 | 2020-07-24T11:36:10 | 2020-07-24T11:36:10 | 189,425,623 | 0 | 0 | null | 2022-11-24T09:40:45 | 2019-05-30T14:11:46 | HTML | UTF-8 | PlantUML | false | false | 1,151 | puml | @startuml
package dataAccessLayer{
package entities{
class Location{
-String Id
-int KabinNo
-char KabinKisim
-int unit
-int shelf
-Set<File>files
Location(int,char,int,int)
-String generateId(KabinNo,KabinKisim,shelf,unit)
}
class File{
-String name
-int europaid
-String content
-String notes
-Borrower borrower
-Date borrowDate
-Date dueDate
-Boolean inOut
-Set<Location>locations;
File()
-ioControl()
/' ioControl fonksyonu constructor içinde çalıştırılıp field o şekilde doldurulacak '/
}
File "1..*"-"1..*" Location
(File,Location) .. File_Location
class File_Location{
-file_name
-location_id
}
class Borrower{
-String name
-String surname
-Set<File>files
}
Borrower "1..*"-"0..1" File
(File,Borrower) .. File_Borrower
class File_Borrower{
-file_name
-borrower_name
}
}
class Baglanti{
public SessionFactory oturumÜreteci
public Session oturum;
public Transaction islem;
public void ac(){
public void kaydet(Object obj){
public void guncelle(Object obj){
public void kaydetVeyaGuncelle(Object obj){
}
}
package ana{
class ArsivMain{
public static void main (String[] args) {
}
@enduml
|
3a621c93ca1cc82117ff0cf69ded34120f0c51c0 | 5419ba65627214efbf640b0643d5524c4f2a646f | /Architecture/06.GAIP#29.get-relevant-promoted-actions/GRPD#31.class.1.plantuml | 50e6ed3d6c918ce238688dee001262fa3f3ddafc | [] | no_license | ovidiomanteiga/horuslauncher | 3ed7ce5283dd4a267b1284f6bc192c0426b98150 | 26159c90e70d3042f2ac04d8cb8284c1c8c26de2 | refs/heads/master | 2020-09-14T05:44:31.073187 | 2019-07-22T19:55:47 | 2019-07-22T19:55:47 | 223,037,096 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,215 | plantuml |
@startuml GRPD#31.class.1
skinparam monochrome true
package Domain {
class PromotedAction <<Entity>> {
Drawable icon
UUID identifier
LocalizableString name
void perform()
}
class PromotedActions <<Aggregate>> {
}
class GetPromotedActions <<Interactor>> {
+ PromotedActions actions
+ void perform()
}
class UserProfile <<VO>> {
+ Gender gender
+ Int yearOfBirth
+ Location currentLocation
+ List<HorusAction> top10Actions
}
class UserProfileManager {
+ UserProfile getUserProfile()
}
interface PromotedActionService <<Service>> {
+ PromotedActions getPromotedActionsFor(UserProfile)
}
interface UserLocationManager {
+ Location getCurrentLocation()
}
interface ActionExecutionRepository {
+ List<ActionExecution> getAll()
}
GetPromotedActions -u-> PromotedActions
GetPromotedActions -d-> PromotedActionService
GetPromotedActions -r-> UserProfileManager
UserProfileManager -u-> UserProfile
UserProfileManager -d-> UserLocationManager
UserProfileManager -r-> ActionExecutionRepository
PromotedActions -u-> "*" PromotedAction
}
package Infrastructure {
class HorusSpotterPromotedActionService <<Service>> {
+ PromotedActions getPromotedActionsFor(UserProfile)
}
class FakePromotedActionService <<Mock>> {
}
class AndroidLocationManager {
+ Location getCurrentLocation()
}
package HorusSpotterClient {
class HorusSpotterPromotedActions <<WebAPIResource>> {
+ UserProfileDTO userProfile
+ PromotedActionsDTO post()
}
}
HorusSpotterPromotedActionService .d.> HorusSpotterPromotedActions
}
package Android {
class Context {
}
}
FakePromotedActionService -[hidden]r-> HorusSpotterPromotedActionService
FakePromotedActionService -[hidden]r-> AndroidLocationManager
AndroidLocationManager .u.|> UserLocationManager
AndroidLocationManager -r-> Context
HorusSpotterPromotedActionService .u.|> PromotedActionService
FakePromotedActionService .u.|> PromotedActionService
hide empty members
@enduml
|
e77f1eda2e5c99801d53d356cedca6872a004a65 | 613de188d54547e3f51fc5cce1345d86adf9efec | /asciidocs/plantuml/a02-plakolb-cld.puml | 0c0f3be87c976b321f285312d6cde7d218118fb0 | [] | no_license | 2021-4ahif-nvs/2021-4ahif-nvs-lecture-notes | 69cb1c58a25709d0a4709705c02520d3f5ee8c9d | 767d6485d7e6bfec40af104f20d0e096a12a632e | refs/heads/master | 2023-05-12T06:28:47.241565 | 2021-06-10T13:57:20 | 2021-06-10T13:57:20 | 297,427,276 | 1 | 2 | null | null | null | null | UTF-8 | PlantUML | false | false | 341 | puml | @startuml
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
@enduml
|
5d3f9e6ac3271dd9d78d52cd3ab83a4126b3dd96 | 70b6b3086d64939b4bd08cf8aad93ac5283cf1ac | /uml-meta-model-extensions/scala.types.puml | 31785f45f5eb9366b7f226882f60bfd8300c51b5 | [
"MIT"
] | permissive | tizuck/scala-uml-diagrams | 4a9d35e54a0f6fb3ef753e46eb59e81d7c42a26b | c5c432132bff9df7ab60352f0e715583d9d51973 | refs/heads/main | 2023-03-01T02:44:15.288794 | 2021-02-03T22:26:55 | 2021-02-03T22:26:55 | 306,687,367 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,016 | puml | @startuml Types and Type Profile
package "<<profile>> DottyTypes" {
class Type <<metaclass>>
class Dependent <<stereotype>> {
ids : String [1..*]
}
class Dependency <<metaclass>>
class "Path Dependent" <<stereotype>> {
id : String
members : String [1..*]
}
class ScalaClass <<stereotype>>
class "Type " <<stereotype>> {
realTypeBounds : RealTypeBounds [0..1]
}
Type <-- Dependent
Dependency <-- "Path Dependent"
ScalaClass <|-- "Type "
}
package "Types" {
class AndType<L,R>
class OrType <L,R>
class TypeProjection<L,R>
class ThisType
class RealTypeBounds<U,L>
class FunctionType<A,B>
class WildcardType
class Bounds<LO,HI>
WildcardType --> "0..1" Bounds
hide members
}
"<<profile>> DottyTypes" ..> Types : \n<<import>>
hide class circle
hide class methods
hide <<metaclass>> members
skinparam class {
BackgroundColor White
ArrowColor Black
BorderColor Black
}
@enduml |
77d0c0bb35a8d9ca2b3cba464844e87c8a6d7732 | 625517108615e50180082e3c6d7d1444f643485e | /test/fixtures/class-empty-class/in.plantuml | f770e108ff2862fa43fcc58204a442be95da3cc3 | [
"TCL",
"BSD-3-Clause",
"HPND",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"LicenseRef-scancode-openssl",
"MIT",
"LicenseRef-scancode-ssleay-windows",
"ISC",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Enteee/plantuml-parser | 180c370b3025bb7566bd86576d327364b3d5a425 | 765ac61d0c29c7c8f39310cfa7c385017997aeb8 | refs/heads/master | 2023-07-26T02:00:39.582527 | 2023-03-27T20:49:09 | 2023-03-27T20:49:09 | 177,091,179 | 132 | 33 | Apache-2.0 | 2023-05-21T07:11:53 | 2019-03-22T07:20:31 | TypeScript | UTF-8 | PlantUML | false | false | 136 | plantuml | @startuml
package P1
{
}
package P2 {
}
class C1
{
}
class C2 {
}
interface I1
{
}
interface I2 {
}
enum E1
{
}
enum E2 {
}
@enduml
|
20700e7592053fda94a731ee6e70d227191e0beb | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/PaymentSetTransactionCustomFieldAction.puml | db734fdafa7573d7f76b06ef438589980ffc8f5e | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 527 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface PaymentSetTransactionCustomFieldAction [[PaymentSetTransactionCustomFieldAction.svg]] extends PaymentUpdateAction {
action: String
transactionId: String
name: String
value: [[Object.svg Object]]
}
interface PaymentUpdateAction [[PaymentUpdateAction.svg]] {
action: String
}
@enduml
|
8dc8e626bfb27e988433d313392f3ad4c28f84a8 | c69dba4cef780d27a126166ee912005507258413 | /src/design/maneuver-triggers-class-diagram.puml | ae6f56d21bb06163d02877c222dd2fa2c12fb12b | [
"MIT",
"EPL-1.0",
"Apache-2.0"
] | permissive | CS-SI/Orekit | 2265900b501fe6727a57378956f9f2c61564909a | 7ab7a742674eabee00e1dbe392833d587fdcdaab | refs/heads/develop | 2023-09-03T20:33:42.748576 | 2023-09-01T14:34:03 | 2023-09-01T14:34:03 | 22,851,787 | 144 | 79 | Apache-2.0 | 2023-03-28T17:53:33 | 2014-08-11T19:29:35 | Java | UTF-8 | PlantUML | false | false | 2,388 | puml | ' Copyright 2002-2023 CS GROUP
' Licensed to CS GROUP (CS) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' CS licenses this file to You under the Apache License, Version 2.0
' (the "License"); you may not use this file except in compliance with
' the License. You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB/CCC9C5
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
skinparam PackageFontSize 12
skinparam linetype ortho
package org.orekit #ECEBD8 {
package propagation.events #DDEBD8 {
interface EventDetector
interface FieldEventDetector
}
package forces.maneuvers.propulsion.triggers #DDEBD8 {
interface ManeuverTriggers {
+getName()
+init()
+getEventsDetectors()
+getFieldEventsDetectors()
+isFiring()
+getParametersDrivers()
}
abstract class AbstractManeuverTriggers
abstract class "IntervalEventTrigger<T>" as IntervalEventTrigger_T {
-firingIntervalDetector
#convertIntervalDetector()
}
abstract class "StartStopEventsTrigger<A, O>" as StartStopEventsTrigger_A_O {
-startDetector
-stopDetector
#convertStartDetector()
#convertStopDetector()
}
class DateBasedManeuverTriggers
EventDetector <--o ManeuverTriggers
FieldEventDetector <--o ManeuverTriggers
AbstractManeuverTriggers ..|> ManeuverTriggers
AbstractManeuverTriggers <|-- IntervalEventTrigger_T
AbstractManeuverTriggers <|-- StartStopEventsTrigger_A_O
IntervalEventTrigger_T <|-- DateBasedManeuverTriggers
}
}
@enduml
|
34fdfef05a06e3544b69cb7affdfe04c1045a094 | 82111053246ebb8b56479d37e033ed7c854d896b | /MyBatis/类图/Log日志模块.puml | 83d7c58bec52f2f53d6a55affc025d9bb2a1f13c | [] | no_license | luobosi-marvel/plant-uml-marvel | 70f02e77b5f6977df10e7154aeef73ee8854aeb5 | 5bd45fcc7824896f3679195572899fc6821dbd1f | refs/heads/master | 2020-03-31T04:36:18.023328 | 2019-03-04T02:07:16 | 2019-03-04T02:07:16 | 151,912,910 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,559 | puml | @startuml
class LogFactory {
+ useCustomLogging(Class<? extends Log> clazz): void
+ getLog(Class<?> aClass): Log
+ getLog(String logger): Log
}
interface Log {
+ isDebugEnabled(): boolean
+ isTraceEnabled(): boolean
+ error(String s, Throwable e): void
+ error(String s): void
+ debug(String s): void
+ trace(String s): void
+ warn(String s) : void
}
note left of Log: 使用了适配器模式,用来兼容各种业界流行的日志框架
class Jdk14LoggingImpl {
+ isDebugEnabled(): boolean
+ isTraceEnabled(): boolean
+ error(String s, Throwable e): void
+ error(String s): void
+ debug(String s): void
+ trace(String s): void
+ warn(String s) : void
}
class Log4jImpl {
+ isDebugEnabled(): boolean
+ isTraceEnabled(): boolean
+ error(String s, Throwable e): void
+ error(String s): void
+ debug(String s): void
+ trace(String s): void
+ warn(String s) : void
}
class Log4j2Impl {
+ isDebugEnabled(): boolean
+ isTraceEnabled(): boolean
+ error(String s, Throwable e): void
+ error(String s): void
+ debug(String s): void
+ trace(String s): void
+ warn(String s) : void
}
class Slf4jImpl {
+ isDebugEnabled(): boolean
+ isTraceEnabled(): boolean
+ error(String s, Throwable e): void
+ error(String s): void
+ debug(String s): void
+ trace(String s): void
+ warn(String s) : void
}
Log <|.. Jdk14LoggingImpl
Log <|.. Log4jImpl
Log <|.. Log4j2Impl
Log <|.. Slf4jImpl
LogFactory ..> Log
@enduml |
08343dc81c148130342e35932d30318da3d30402 | d37dc5cf4589ad26abe9249aee9b1a172ea0678a | /MCR_Labo1c.plantuml | dde9d175e19555d41b5c140e723ec5082768d738 | [] | no_license | pagedidier/2019-MCR-Labo1c | d3fca2e3c49d66ec8ffde938db0382c80b3aac31 | 619173d79b7e92db838419bb4acd8ec88292d157 | refs/heads/master | 2020-04-29T19:40:04.146981 | 2019-03-26T14:14:08 | 2019-03-26T14:14:08 | 176,362,872 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,493 | plantuml | @startuml
title __MCR_LABO1C's Class Diagram__\n
package Bouncer {
interface Bouncable {
}
}
package Bouncer {
class BounceApp {
}
}
package Bouncer {
abstract class Bouncer {
}
}
package Displayer {
class BouncerDisplayer {
}
}
package Factory {
abstract class BouncerFactory {
}
}
package Renderer {
abstract class BouncerRenderer {
}
}
package Bouncer {
abstract class Circle {
}
}
package Displayer {
interface Displayer {
}
}
package Factory {
class EmptyBouncerFactory {
}
}
package Renderer {
class EmptyRenderer {
}
}
package Factory {
class FilledBouncerFactory {
}
}
package Renderer {
class FilledRenderer {
}
}
package Renderer {
interface Renderable {
}
}
package Bouncer {
abstract class Square {
}
}
BounceApp o-- Displayer : displayer
Bouncer -up-|> Bouncable
BouncerDisplayer -up-|> Displayer
BouncerRenderer -up-|> Renderable
Circle -up-|> Bouncer
EmptyBouncerFactory -up-|> BouncerFactory
EmptyRenderer -up-|> BouncerRenderer
FilledBouncerFactory -up-|> BouncerFactory
FilledRenderer -up-|> BouncerRenderer
Square -up-|> Bouncer
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
3a7ab8ae0ceba388b717e6102e7cc51ce7dcf530 | aee18662066eab7c4fc26ba4db506c07f0a719d2 | /src/main/java/Exercise28/28flow.puml | 0aad861f88cb6c18b7283b16b3812692e81383c6 | [] | no_license | Bash259/Braimoh-cop3330-assignment2 | a515dc9217ccf15a6983aa7d5e85cd6d816161c4 | c38b694a99de7e16a7e336b9f521e93f67f5a5fc | refs/heads/master | 2023-05-31T12:28:06.588705 | 2021-06-14T03:05:53 | 2021-06-14T03:05:53 | 376,689,140 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 302 | puml | @startuml
class EnterAValue{
+Valid()
+Invalid()
}
EnterAValue --|> Valid
EnterAValue --|> Invalid
Valid ---|> DoYouWantToEnterAnother
Invalid ---|> EnterAnInteger
DoYouWantToEnterAnother --|> Yes
DoYouWantToEnterAnother --|> No
EnterAnInteger --|> EnterAValue
Yes --|> EnterAValue
@enduml |
d8c09bdcf448fd7046d3fc7f05c4719dd0d10bdc | 912d65be9bbd436a671d948abe8dadf356eb5216 | /src/main/java/com/kafka/streams/streams.plantuml | 0785bb46449d5896e7e9ab4abf75bea906aba37c | [] | no_license | ljhpole/netty-lecture | 02318e9992f488f03425c93b981e8718582b1b4b | a20bef9e6db5d1061a6f37ec0593087588ea1a0a | refs/heads/main | 2023-02-24T21:52:42.964037 | 2021-01-31T15:35:18 | 2021-01-31T15:35:18 | 334,686,240 | 0 | 1 | null | 2021-01-31T15:35:19 | 2021-01-31T15:19:40 | null | UTF-8 | PlantUML | false | false | 387 | plantuml | @startuml
title __STREAMS's Class Diagram__\n
namespace com.kafka {
namespace streams {
class com.kafka.streams.WordCount {
{static} + main()
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
a5c0d7ff3c959c35e9d4ed0614fb4e9a36b3e209 | f7df17c45bce8258d87f7e57bffa05aa330f3cb9 | /doc/goto-services-arch.puml | c6c3aed311ba9d260473f2a0d871718dc4af178a | [
"MIT"
] | permissive | highstreeto/GoTo | 431c828db47311e1cb00e0a896f89f94d255ada0 | faabb63b51025fcdc313aebd64731531828def48 | refs/heads/master | 2020-05-22T06:06:36.592867 | 2019-12-09T20:52:18 | 2019-12-09T20:52:18 | 186,246,504 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,812 | puml | @startuml goto-service-arch
class Domain.Destination {
-string name
-double latitude
-double longitude
+double DistanceTo(Destination other)
}
abstract class Domain.Trip {
-DateTime startTime
-Destination startLocation
-TimeSpan estimatedDuration
-Destination endLocation
+DateTime GetEndTime()
}
class Domain.TripOffer {
}
Domain.Trip <|-- Domain.TripOffer
Domain.TripOffer --> Domain.User : -offeredBy
class Domain.PublicTransportTrip {
-string operator
}
Domain.Trip <|-- Domain.PublicTransportTrip
Domain.PublicTransportTrip --> Domain.PublicTransportType : -type
enum Domain.PublicTransportType {
Unspecified,
Bus,
Train,
Planem
Boat
}
class Domain.User {
-string loginName
-string displayName
}
interface Repositories.IDestinationRepository {
+{abstract} IEnumerable<Destination> Query()
+{abstract} IEnumerable<Destination> FindByName(string name)
+{abstract} Option<Destination> FindByGeo(double lat, double lon)
+{abstract} void Add(Destination destination)
}
Repositories.IDestinationRepository ..> Domain.Destination : <<persists>>
class Repositories.InMemoryDestinationRepository {
-List<Destination> destinations
}
Repositories.IDestinationRepository <|.. Repositories.InMemoryDestinationRepository
interface Repositories.ITripOfferRepository {
+{abstract} IEnumerable<TripOffer> Query()
+{abstract} void Add(TripOffer offer)
}
Repositories.ITripOfferRepository ..> Domain.TripOffer : <<persists>>
class Repositories.InMemoryTripOfferRepository {
-List<TripOffer> offers
}
Repositories.ITripOfferRepository <|.. Repositories.InMemoryTripOfferRepository
interface Repositories.IUserRepository {
+{abstract} IEnumerable<User> Query()
+{abstract} User FindByLoginName(string loginName)
+{abstract} void Add(User user)
}
Repositories.IUserRepository ..> Domain.User : <<persists>>
class Repositories.InMemoryUserRepository {
-List<User> users
}
Repositories.IUserRepository <|.. Repositories.InMemoryUserRepository
interface Services.ITripSearcher {
+{abstract} Task<IEnumerable<Trip>> SearchAsync(TripSearchRequest request)
}
class Services.ExactMatchTripSearcher {
}
Services.ITripSearcher <|.. Services.ExactMatchTripSearcher
Services.ExactMatchTripSearcher --> Repositories.InMemoryTripOfferRepository : -tripOfferRepo
Services.ExactMatchTripSearcher --> "0..*" Services.IPublicTransportTripProvider : -publicTransportProviders
interface Services.IPublicTransportTripProvider {
+{abstract} string GetOperator()
+{abstract} Task<IEnumerable<PublicTransportTrip>> SearchAsync(TripSearchRequest request)
}
class Services.OEBBPublicTransportTripProvider {
}
Services.IPublicTransportTripProvider <|.. Services.OEBBPublicTransportTripProvider
@enduml |
10edfd797809a8875ea05c152602256ded705d90 | 0254447e7f40ee5a034b0af60f6e126283d88347 | /model.plantuml | 5150dbb697e9c2ed645a3deb5c2956f0b7828a5d | [] | no_license | GregRbs92/LeBonCoin | 1ce55eed9792982e26fcff8eb4ba0d5c5fcc86e1 | 64e2bf0e8ba11e5039e26fd28a1d24534da49265 | refs/heads/master | 2020-04-30T12:49:28.709274 | 2019-03-25T21:21:08 | 2019-03-25T21:21:08 | 176,836,446 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,956 | plantuml | @startuml
package App\Entity {
class Ad {
-int id
-string title
-string content
}
class User {
-int id
-string firstName
-string lastName
-string email
-string password
}
class Category {
-string name
}
class Job {
-int salary
-string contractType
}
class Vehicle {
-int price
-string fuelType
}
class Property {
-int surface
-int price
}
class Other {
}
}
package App\Factory {
abstract class AbstractAdFactory {
+AbstractAdFactory {static} getFactory(string adType)
}
interface FactoryInterface {
+ {abstract} {static} instantiate()
+ {abstract} {static} createEntity()
}
class JobFactory {
-JobFactory instance
+JobFactory {static} instantiate()
+Job {static} createEntity()
}
class VehicleFactory {
-VehicleFactory instance
+VehicleFactory {static} instantiate()
+Vehicle {static} createEntity()
}
class PropertyFactory {
-PropertyFactory instance
+PropertyFactory {static} instantiate()
+Property {static} createEntity()
}
class OtherFactory {
-OtherFactory instance
+OtherFactory {static} instantiate()
+Other {static} createEntity()
}
}
User "1"-down-"0..*" Ad
Category "1" -[norank]- "0..*" Ad
Ad <|-- Job
Ad <|-- Vehicle
Ad <|-- Property
Ad <|-- Other
AbstractAdFactory <|-up- OtherFactory
AbstractAdFactory <|-up- PropertyFactory
AbstractAdFactory <|-up- VehicleFactory
AbstractAdFactory <|-up- JobFactory
FactoryInterface <|.up. OtherFactory
FactoryInterface <|.up. PropertyFactory
FactoryInterface <|.up. VehicleFactory
FactoryInterface <|.up. JobFactory
Job .down. JobFactory : < instantiate
Vehicle .down. VehicleFactory : < instantiate
Property .down. PropertyFactory : < instantiate
Other .down. OtherFactory : < instantiate
@enduml
|
b19a8466508b1f60e101bb4e0f511dca91196fed | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-class-arkiv.puml | 6796470abd049d7d171b5b54656efc1589cf509e | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 797 | puml | @startuml
skinparam nodesep 100
hide circle
class Arkivstruktur.Arkiv <Arkivenhet> {
+tittel : string
+beskrivelse : string [0..1]
+arkivstatus : Arkivstatus [0..1] [1..1]
+dokumentmedium : Dokumentmedium [0..1] [1..1]
+oppbevaringssted : string [0..*]
+avsluttetDato : datetime [0..1]
+avsluttetAv : string [0..1]
+referanseAvsluttetAv : SystemID [0..1]
}
class Arkivstruktur.Arkivskaper <Arkivenhet> {
}
Arkivstruktur.Arkiv "arkiv 0..*" o--> "arkivskaper 1..*" Arkivstruktur.Arkivskaper
class Arkivstruktur.Arkivdel <Arkivenhet> {
}
Arkivstruktur.Arkiv "arkiv 1" o--> "arkivdel 0..*" Arkivstruktur.Arkivdel
Arkivstruktur.Arkiv "overarkiv 0..1" o-- "underarkiv 0..*" Arkivstruktur.Arkiv
class Arkivstruktur.Arkivenhet {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Arkiv
@enduml
|
b977828d20ce2eaefcb17d9da9f3ca116363d8ea | 83bec850817e3deb2a33a5ab2527784a976338b3 | /log210-contenu/assets/StaticObserver.puml | e9f2c70492cf92d88d57e7b910c1e98bcd7276fe | [] | no_license | yvanross/github-action-learning-larman-mdd | df8fb1907a84046ce0ed3b62ea555fd3b12655ad | e0195b3344ecdfaa934e788e839e8758453bc4ca | refs/heads/main | 2023-08-30T10:22:28.071260 | 2021-11-11T15:29:27 | 2021-11-11T15:29:27 | 304,116,705 | 0 | 0 | null | 2020-10-15T01:32:37 | 2020-10-14T19:34:03 | JavaScript | UTF-8 | PlantUML | false | false | 262 | puml | @startuml StaticObserver
skinparam style strictuml
skinparam BackgroundColor transparent
hide empty members
class "Subject" as S {
attach()
}
interface "Observer" as O <<interface>> {
notify()
}
class "Concrete\nObserver" implements O
S -right- O
@enduml |
b9ba4f435fc7be2fd53c6b153f8f42be5c9d3550 | 40e351567ea4253710fab5639d62af6dbb8686d2 | /plantuml/User.puml | cecd8b024e56a2cdcd44806d826e6762149e06a0 | [] | no_license | AlexMaxwell2001/MementoDesignPattern | e6e0c9715217e47ea352c5084621148897ba03c3 | 54a456ac2eecdca88dd7fab09ec7de19d04c7f59 | refs/heads/main | 2023-01-18T15:46:11.610765 | 2020-12-03T13:22:49 | 2020-12-03T13:22:49 | 318,200,279 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 249 | puml | @startuml
class User {
+ UndoCount : int <<get>>
+ RedoCount : int <<get>>
+ User()
+ Reset() : void
+ Action(s:Shape, current:Canvas) : void
+ Undo(canvas:Canvas) : void
+ Redo(canvas:Canvas) : void
}
@enduml
|
c49bc0329e5fe24dfe66c496590e314a560148a2 | f75b19119469831091a7ba1acfa2ff3243a0e297 | /src/main/java/oop/assignment3/ex45/base/exercise45.puml | a02ec3496ef7211b4237ee226885c2afebe77f2a | [] | no_license | BrianCTNguyen/Nguyen-cop3330-assignment3 | 51c8dc7586665c8f29da884d85c84e10f5d4b0c7 | 0244dfe16b486e1ff9153eb27c1d9a1acc271ffe | refs/heads/master | 2023-06-04T01:48:46.961668 | 2021-06-21T03:59:56 | 2021-06-21T03:59:56 | 378,794,689 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 425 | puml | @startuml
'https://plantuml.com/sequence-diagram
class solution45 {
Word Finder
print outputFile()
}
class readFile {
Read Input txt
Scanner(input.txt)
}
class modifyFile {
Replace Function
modify() throws IOException
}
class outputFile {
Write to new File
output.write()
}
solution45 <--o outputFile
readFile o--> modifyFile
modifyFile o--> outputFile
readFile o--> solution45
@enduml |
cfb7086b4ed3d786ddb291330dc69b0c35cfca2c | 0931e607be7496662c2988305be95932c5c6ae9d | /src/main/java/tw/waterball/api/mocks/mocks.plantuml | f2da0e435330f2622bbb45d974d63e2d4898915e | [
"Apache-2.0"
] | permissive | Johnny850807/Instagram4j-Fluent-Interface | 8a47a7c69590d1d03bee46c4dab7f6ed073dfa1f | 214c34d23489ff7576b9d120f018137e220ae6b1 | refs/heads/master | 2021-06-25T14:15:36.597273 | 2019-12-20T06:43:40 | 2019-12-20T06:43:40 | 224,562,189 | 0 | 0 | Apache-2.0 | 2021-04-26T19:44:09 | 2019-11-28T03:25:05 | Java | UTF-8 | PlantUML | false | false | 1,431 | plantuml | @startuml
title __MOCKS's Class Diagram__\n
namespace tw.waterball.api {
namespace mocks {
class tw.waterball.api.mocks.MockInstagram4JFeedAdapter {
+ MockInstagram4JFeedAdapter()
+ MockInstagram4JFeedAdapter()
+ comment()
+ getPagedCommenters()
+ getPagedComments()
+ getPagedDistinctCommenters()
+ getRecentCommenters()
+ getRecentComments()
+ like()
+ unlike()
}
}
}
namespace tw.waterball.api {
namespace mocks {
class tw.waterball.api.mocks.MockInstagram4JUserAdapter {
+ MockInstagram4JUserAdapter()
+ follow()
+ getPagedFeeds()
+ getPagedFollowers()
+ getPagedFollowings()
+ getRecentFeeds()
+ getRecentFollowers()
+ getRecentFollowings()
+ hasFollowMe()
+ likeRecentFeeds()
+ sendDM()
+ unfollow()
}
}
}
tw.waterball.api.mocks.MockInstagram4JFeedAdapter -up-|> tw.waterball.impls.instagram4j.AbstractInstagram4JFeedAdapter
tw.waterball.api.mocks.MockInstagram4JUserAdapter -up-|> tw.waterball.impls.instagram4j.AbstractInstagram4jUserAdapter
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
d8a321f9417c027122d9b7715adb63e000b6c2cc | e9d36e0e7fa198bcaebb6ae8baf6144b2aed19fa | /TP-HTTP-Code.plantuml | 92b0b1883ecc3618af1d6ebf6b9e580d0d4aa974 | [] | no_license | Ceruninco/TP-HTTP-Code | 9d5376390e9c58e32e7bb026ab6543938fcf8bc9 | 57517a97deaf5ddba079f99430f95a9d3a62a9fc | refs/heads/master | 2023-01-15T05:32:54.364731 | 2020-11-25T12:17:06 | 2020-11-25T12:17:06 | 314,503,973 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 824 | plantuml | @startuml
title __TP-HTTP-CODE's Class Diagram__\n
namespace http.client {
class http.client.WebPing {
}
}
namespace http.client {
class http.client.WebPing {
}
}
namespace http.server {
class http.server.Request {
}
}
namespace http.server {
class http.server.ServerThread {
}
}
namespace http.server {
class http.server.WebServer {
}
}
namespace http.server {
class http.server.WebServer {
}
}
namespace http.server {
class http.server.WebServer {
}
}
http.server.ServerThread o-- http.server.Request : req
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
cc7580549ccdfbe8266f8020134ffc9f668ff673 | 85146b1f9cacca8bf83e73c76441afc163df1138 | /docs/go-graphsync.puml | 5086ded428a961631b8ee3437a5465c127c5c04b | [
"Apache-2.0",
"MIT"
] | permissive | Alexey-N-Chernyshov/go-graphsync | 07e791c274190c77228fa8dff865c90577121800 | d92aaa85329044bf31cb782d61c45a0bb84a7eab | refs/heads/master | 2020-08-18T10:41:57.500593 | 2019-09-25T18:24:48 | 2019-09-25T18:24:48 | 215,780,703 | 0 | 0 | NOASSERTION | 2019-10-17T11:55:51 | 2019-10-17T11:55:48 | null | UTF-8 | PlantUML | false | false | 12,991 | puml | @startuml "GraphSync"
package "go-ipld-prime" {
interface Node {
}
interface NodeBuilder {
}
interface Path {
}
interface Link
package traversal {
package selector {
interface Selector {
}
object "PackagePublicFunctions" as goSelectorPF {
ReifySelector(cidRootedSelector Node) (Selector, error)
}
}
interface AdvVisitFn {
}
class TraversalConfig {
}
class TraversalProgress {
TraverseInformatively(Node, Selector, AdvVisitFn)
}
TraversalProgress *-- TraversalConfig
}
interface Storer {
}
interface Loader {
}
}
package "go-graphsync" {
interface Cid2BlockFn {
}
class GraphSync {
Request(ctx context.Context, p peer.ID, rootedSelector Node) (chan ResponseProgress, chan error)
GetBlocks(ctx context.Context, p peer.ID, rootedSelector Node) (chan blocks.Block, chan error)
ReceiveMessage(ctx context.Context, sender peer.ID, incoming GraphSyncMessage)
ReceiveError(error)
}
GraphSync *-- Loader
package network {
interface Receiver {
ReceiveMessage(ctx context.Context, sender peer.ID, incoming GraphSyncMessage)
ReceiveError(error)
}
interface GraphSyncNetwork {
SendMessage(ctx context.Context, receiver peer.Id, m GraphSyncMessage)
SetDelegate(receiver Receiver)
ConnectTo(ctx context.Context, peer.ID) error
NewMessageSender(context.Context, peer.ID) (MessageSender, error)
}
interface MessageSender {
SendMsg(context.Context, GraphSyncMessage) error
Close() error
Reset() error
}
Receiver <|-- GraphSync : receiver for
class libP2PGraphSyncNetwork {
}
GraphSyncNetwork <|-- libP2PGraphSyncNetwork
object "Package Public Functions" as goGraphSyncNetworkPF {
NewLibP2PNetwork(host libp2pHost.Host) GraphSyncNetwork
}
goGraphSyncNetworkPF .. libP2PGraphSyncNetwork
}
package messagequeue {
class MessageQueue {
AddRequest(GraphSyncRequest)
AddResponses([]GraphSyncResponse, []Block) <-chan struct{}
Startup()
Shutdown()
}
object "PackagePublicFunctions" as goMessageQueuePF {
New(context.Context, peer.ID, GraphSyncNetwork) *MessageQueue
}
GraphSync .. goMessageQueuePF
MessageQueue *-- GraphSyncNetwork
}
package peermanager {
class PeerManager {
Connected(p peer.ID)
Disconnected(p peer.ID)
ConnectedPeers() []peer.ID
GetProcess(peer.ID) PeerProcess
}
class PeerMessageManager {
SendRequest(peer.ID, GraphSyncRequest)
SendResponses(peer.ID, []GraphSyncResponse, []Block)
}
object "Package Public Functions" as goPeerManagerPF {
New(ctx context.Context, createPeerProcess func(context, peer.ID) PeerProcess)
NewMessageManager(ctx context.Context, createPeerQueue func(context, peer.ID) MessageQueue)
}
GraphSync .. goPeerManagerPF
PeerManager <|-- PeerMessageManager
PeerMessageManager *-- MessageQueue
}
package linktracker {
class LinkTracker {
ShouldSendBlockFor(Link) bool
RecordLinkTraversal(GraphSyncRequestID, Link, bool)
FinishRequest(GraphSyncRequestID) bool
}
object "Package Public Functions" as goLinkTrackerPF {
New() *LinkTracker
}
}
package requestmanager {
package types {
interface ResponseProgress {
}
interface AsyncLoadResult {
}
}
package "loader" as reqLoader {
interface AsyncLoadFn {
}
object "Package Public Functions" as goRequestLoaderPF {
WrapAsyncLoader(context.Context, AsyncLoadFn, GraphSyncRequestID, chan error)
}
}
package asyncloader {
package loadattempqueue {
interface LoadRequest {
}
interface LoadAttempter {
func(GraphSyncRequestID, ipld.Link) ([]byte, error)
}
class LoadAttemptQueue {
AttemptLoad(LoadRequest, bool)
ClearRequest(GraphSyncRequestID)
RetryLoads()
}
object "Package Public Functions" as goLoadAttemptQueuePF {
NewLoadRequest(GraphSyncRequestID, ipld.Link, chan AsyncLoadResult) LoadRequest
New(LoadAttempter) *LoadAttemptQueue
}
}
package unverifiedblockstore {
class UnverifiedBlockStore {
AddUnverifiedBlock(ipld.Link, []byte)
PruneBlocks(func(ipld.Link) bool)
VerifyBlock(ipld.Link) ([]byte, error)
}
object "Package Public Functions" as goUnverifiedBlockStore {
New(Storer) *UnverifiedBlockStore
}
}
package responsecache {
class ResponseCache {
FinishRequest(GraphSyncRequestID)
AttemptLoad(GraphSyncRequestID, ipld.Link) ([]byte, error)
ProcessResponse(map[GraphSyncRequestID]Metadata, []blocks.Block)
}
object "Package Public Functions" as goResponseCachePF {
New(UnverifiedBlockStore) *ResponseCache
}
ResponseCache *-- LinkTracker
ResponseCache *-- UnverifiedBlockStore
ResponseCache .. goLinkTrackerPF
}
class AsyncLoader {
StartRequest(GraphSyncRequestID)
ProcessResponse(map[gsmsg.GraphSyncRequestID]metadata.Metadata, []blocks.Block)
AsyncLoad(requestID gsmsg.GraphSyncRequestID, link ipld.Link) AsyncLoadResult
CompleteResponsesFor(GraphSyncRequestID)
CleanupRequest(GraphSyncRequestID)
}
object "Package Public Functions" as goAsyncLoaderPF {
New(context.Context, ipld.Loader, ipld.Storer) *AsyncLoader
}
AsyncLoader *-- LoadAttemptQueue
AsyncLoader *-- ResponseCache
AsyncLoader *-- Loader
AsyncLoader *-- Storer
AsyncLoader .. goUnverifiedBlockStore
AsyncLoader .. goResponseCachePF
AsyncLoader .. goLoadAttemptQueuePF
}
class RequestManager {
SetDelegate(peerHandler PeerMessageManager)
SendRequest(ctx context.Context, p peer.ID, cidRootedSelector Node) chan ResponseProgress, chan error
ProcessResponses(peer.ID, []GraphSyncResponse, []blocks.Block)
}
object "Package Public Functions" as goRequestManagerPF {
New(ctx context.Context, asyncLoader AsyncLoader, ipldBridge ipldbridge.IPLDBridge) *RequestManager
}
RequestManager *-- AsyncLoader
RequestManager *-- PeerManager
RequestManager .. goRequestLoaderPF
GraphSync *-- RequestManager
GraphSync .. goRequestManagerPF
}
package responsemanager {
package peertaskqueue {
package peertask {
class Task {
}
class TaskBlock {
MarkPrunable(Identifier)
PruneTasks()
Index()
SetIndex(int)
}
interface Identifier {
}
object "Package Public Functions" as goPeerTaskPF {
FIFOCompare(a, b *TaskBlock) bool
PriorityCompare(a, b *TaskBlock) bool
WrapCompare(func(a, b *TaskBlock) bool) func(a, b pq.Elem) bool
NewTaskBlock([]Task, int, peer.ID, func([]Task)) *TaskBlock
}
}
package peertracker {
class PeerTracker {
StartTask(Identifier)
TaskDone(Identifier)
Index()
SetIndex(int)
PushBlock(peer.ID, []Task, func([]Task))
PopBlock() *TaskBlock
Remove(Identifier)
Freeze()
Thaw() bool
FullThaw()
IsFrozen() bool
}
object "Package Public Functions" as goPeerTrackerPF {
New() *PeerTracker
PeerCompare(a, b pq.Elem) bool
}
PeerTracker *-- TaskBlock
PeerTracker .. goPeerTaskPF
}
class PeerTaskQueue {
PushBlock(to peer.ID, tasks ...Task)
PopBlock() *TaskBlock
Remove(identifier Identifier, p peer.ID)
ThawRound()
FullThaw()
}
PeerTaskQueue *-- PeerTracker
PeerTaskQueue .. goPeerTrackerPF
object "Package Public Functions" as goPeerTaskQueuePF {
New() *PeerTaskQueue
}
GraphSync .. goPeerTaskQueuePF
}
package "loader" as resLoader {
object "Package Public Functions" as goResponseLoaderPF {
WrapLoader(Loader,GraphSyncRequestID, PeerResponseSender) Loader
}
}
package responsebuilder {
class ResponseBuilder {
AddBlock(Block)
AddLink(GraphSyncRequestID, Link, bool)
AddCompletedRequest(GraphSyncRequestID, GraphSyncResponseStatusCode)
Empty() bool
Build(IPLDBridge) ([]GraphSyncResponse, []Block, error)
}
object "Package Public Functions" as goResponseBuilderPF {
New() *ResponseBuilder
}
}
package peerresponsemanager {
class PeerResponseManager {
SenderForPeer(p peer.ID) PeerResponseSender
}
class PeerResponseSender {
Startup()
Shutdown()
SendResponse(GraphSyncRequestID,Link,[]byte)
FinishRequest(GraphSyncRequestID)
FinishWithError(GraphSyncRequestID, GraphSyncResponseStatusCode)
}
object "Package Public Functions" as goPeerResponseManagerPF {
New(Context, func(Context, peer.ID) PeerResponseSender) *PeerResponseManager
NewResponseSender(Context, peer.ID, PeerMessageManager, IPLDBridge) PeerResponseSender
}
PeerResponseManager *-- PeerResponseSender
PeerResponseSender *-- LinkTracker
PeerResponseSender *-- ResponseBuilder
PeerResponseSender *-- PeerMessageManager
PeerResponseSender .. goLinkTrackerPF
PeerResponseSender .. goResponseBuilderPF
GraphSync .. goPeerResponseManagerPF
}
class ResponseManager {
ProcessRequests(context, peer.ID, []GraphSyncRequests)
}
object "Package Public Functions" as goResponseManagerPF {
New(Context, Loader, IPLDBridge, PeerResponseManager, PeerTaskQueue) *ResponseManager
}
GraphSync *-- ResponseManager
ResponseManager *-- Loader
ResponseManager *-- PeerResponseManager
ResponseManager *-- PeerTaskQueue
ResponseManager .. goResponseLoaderPF
GraphSync .. goResponseManagerPF
}
package message {
object "Package Public Functions" as goGraphSyncMessagePF {
func FromPBReader(pbr ggio.Reader) (GraphSyncMessage, error)
func FromNet(r io.Reader) (GraphSyncMessage, error)
func New() GraphSyncMessage
func NewRequest(GraphSyncRequestID, []byte, GraphSyncPriority) GraphSyncRequest
func CancelRequest(GraphSyncRequestID) GraphSyncRequest
func NewResponse(GraphSyncRequestID, GraphSyncResponseStatusCode, []byte) GraphSyncResponse
}
goGraphSyncMessagePF .. libP2PGraphSyncNetwork
class GraphSyncRequest {
Selector() []bytes
Priority() Priority
ID() int
IsCancel() bool
}
class GraphSyncResponse {
RequestID() int
Status() GraphSyncStatus
Extra() []bytes
}
interface GraphSyncMessage {
Requests() : []GraphSyncRequest
Responses() : []GraphSyncResponse
Blocks() : []Blocks
AddRequest(GraphSyncRequest)
AddResponse(GraphSyncResponse)
AddBlock(Block)
}
interface Exportable {
ToProto()
ToNet(w io.Writer) error
}
Exportable --|> GraphSyncMessage
GraphSyncRequest --* GraphSyncMessage
GraphSyncResponse --* GraphSyncMessage
}
package ipldbridge {
interface IPLDBridge {
BuildNode(func(NodeBuilder) ipld.Node) (ipld.Node, error)
EncodeNode(ipld.Node) ([]byte, error)
DecodeNode([]byte) (ipld.Node, error)
ParseSelector(selector ipld.Node) (Selector, error)
Traverse(ctx context.Context, loader Loader, root ipld.Node, s Selector, fn AdvVisitFn) error
}
GraphSync *-- IPLDBridge
RequestManager *-- IPLDBridge
ResponseManager *-- IPLDBridge
PeerResponseSender *-- IPLDBridge
class ipldBridge {
}
object "PackagePublicFunctions" as goIPLDBridge {
NewIPLDBridge() IPLDBridge
}
IPLDBridge <|-- ipldBridge
goIPLDBridge .. ipldBridge
ipldBridge *-- MulticodecDecodeTable
ipldBridge *-- NodeBuilderChooser
ipldBridge .. TraversalProgress
ipldBridge .. goSelectorPF
ipldBridge .. goIPLDReposePf
}
object "PackagePublicFunctions" as goGraphsyncPf {
New(ctx context.Context, network GraphSyncNetwork, ipldBridge IPLDBridge, loader Loader) GraphSync
LoaderFromCid2BlockFn(cid2BlockFn Cid2BlockFn) Loader
SelectorSpecFromCidAndPath(lnk cid.Cid, pathSegments []string) (ipld.Node, error)
}
}
package "go-filecoin" {
class "go-filecoin" {
}
"go-filecoin" *-- GraphSync
"go-filecoin" .. goGraphsyncPf
"go-filecoin" .. goGraphSyncNetworkPF
"go-filecoin" .. goIPLDBridge
"go-filecoin" *-- RawLoader
"go-filecoin" *-- MulticodecDecodeTable
"go-filecoin" *-- NodeBuilderChooser
}
@enduml
|
d901e89b7cbfcb6a17d01a9585edecfb4877c793 | 4cc053c0710a3067cc6f02c3a33b89200359818d | /diagrams/factory-go.puml | aa5b164e8e17e02d95216d7052502c57ecc1f931 | [
"MIT"
] | permissive | vinogradnick/Pattern_AB_Factory_Singleton | 02ff336273b4d9cda323648a5dc7117118515c73 | a07f96bf53fa3c8da37fb102e69775db977bb1c4 | refs/heads/master | 2020-12-15T14:48:42.513283 | 2020-01-21T05:23:52 | 2020-01-21T05:23:52 | 235,143,180 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,200 | puml |
```plantuml
@startuml factory-go
skinparam class {
BackgroundColor White
ArrowColor Black
BorderColor Black
}
interface GdiFactory{
createButton() Button
createMenu() Menu
createScroll() Scroll
}
class IOSFactory{
createButton() Button
createMenu() Menu
createScroll() Scroll
}
class AndroidFactory{
createButton() Button
createMenu() Menu
createScroll() Scroll
}
interface Button{
click() void
}
interface Menu{
selectItem() void
}
interface Scroll{
scroll() void
}
enum Platforms{
ANDROID_PLATFORM
IOS_PLATFORM
}
class IOSButton{
click() void
}
class AndroidButton{
click() void
}
class AndroidMenu{
selectItem() void
}
class AndroidScroll{
scroll() void
}
class IOSMenu{
selectItem() void
}
class IOSScroll{
scroll() void
}
class Instance{
+platformItems List<Button>
}
class Singleton{
+instance Instance
GetInstance() Instance
}
class GdiConfigurator{
+Button Button
+Scroll Scroll
+Menu Menu
Load() void
}
GdiFactory <|-- IOSFactory
GdiFactory <|-- AndroidFactory
'-------------------------------'
Button <|-- IOSButton
Button <|-- AndroidButton
'-------------------------------'
Menu <|-- IOSMenu
Menu <|-- AndroidMenu
'-------------------------------'
Scroll <|-- IOSScroll
Scroll <|-- AndroidScroll
'-------------------------------'
GdiConfigurator ..> Button
GdiConfigurator ..> Menu
GdiConfigurator ..> Scroll
'-------------------------------'
Singleton <|-- Singleton
Singleton ..> Instance
'-------------------------------'
IOSFactory ..> IOSButton
IOSFactory ..>IOSScroll
IOSFactory ..> IOSMenu
'-------------------------------'
AndroidFactory ..> AndroidButton
AndroidFactory ..>AndroidMenu
AndroidFactory ..>AndroidScroll
GdiConfigurator ..>GdiFactory
@enduml
```
### Flex
```plantuml
@startuml
skinparam class {
BackgroundColor White
ArrowColor Black
BorderColor Black
}
Client -> GdiFactory: create AndroidFactory
activate Client
activate GdiFactory
GdiFactory -> AndroidFactory: new
activate AndroidFactory
Client <-- GdiFactory: return AndroidFactory
Client -> AndroidFactory: createButton()
AndroidFactory -> Button: new
activate Button
Client <-- Button: click()
deactivate Button
Client -> GdiFactory: create IOSFactory
GdiFactory -> IOSFactory: new
activate IOSFactory
Client <-- GdiFactory: return IOSFactory
Client -> IOSFactory: createMenu()
IOSFactory -> Menu: new
activate Menu
Client <-- Menu: selectItem()
deactivate Menu
@enduml
```
#### Singleton
```plantuml
@startuml
skinparam class {
BackgroundColor White
ArrowColor Black
BorderColor Black
}
Client -> Singleton: getInstance()
Activate Client
activate Singleton
Singleton -> Instance : new
activate Instance
Singleton --> Client: return instance
deactivate Instance
@enduml
``` |
25df3b9471d93d1e2ad382d2a288cb8a6171d9ba | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/Utils/FloatEqualityComparer.puml | e7abb20f004d8409445d20602bbf071b11ba2911 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 338 | puml | @startuml
class FloatEqualityComparer {
+ FloatEqualityComparer(allowedError:float)
+ Equals(expected:float, actual:float) : bool
+ GetHashCode(value:float) : int
}
class "IEqualityComparer`1"<T> {
}
"IEqualityComparer`1" "<float>" <|-- FloatEqualityComparer
FloatEqualityComparer --> "Instance" FloatEqualityComparer
@enduml
|
e1b660d8adfba5754bde879cb13b50c58b7174f1 | 5336f97e3eb81d4ad9b2939726bfde17ae682ea7 | /core/src/com/mygdx/game/traffic/traffic.plantuml | 8803e2070b0b30d59ed89558f285d1e6c6718c1c | [] | no_license | kkersis/traffic-simulation-java | 106bc38a9b50a59a77bc5793604314330ebd8aa7 | f0088ea4143f9fa9dcb9b7c710f2e841d9760cc9 | refs/heads/master | 2022-09-13T07:54:04.482623 | 2020-05-28T06:08:33 | 2020-05-28T06:08:33 | 254,651,572 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,821 | plantuml | @startuml
title __TRAFFIC's Class Diagram__\n
namespace com.mygdx.game.traffic {
class com.mygdx.game.traffic.Car {
- anglePassed : float
- canTurn : boolean
{static} - carCount : int
- cosSpeed : float
- isWaiting : boolean
- lane : int
- madeTurn : boolean
- sinSpeed : float
- trafficLights : ArrayList<TrafficLight>
+ Car()
+ Car()
+ Car()
{static} + carDestroyed()
+ clone()
+ getCarDirection()
+ getCarState()
+ getCommand()
+ getCount()
+ move()
+ setAhead()
+ setCarDirection()
+ setCarState()
+ setCommand()
+ setCrossingManager()
+ setLane()
+ setLights()
+ steer()
+ toString()
- carAheadWaiting()
- carPosBetweenX()
- carPosBetweenY()
- decelerate()
}
}
namespace com.mygdx.game.traffic {
enum CarDirection {
DOWN
DOWN_LEFT
DOWN_RIGHT
LEFT
LEFT_DOWN
LEFT_UP
RIGHT
RIGHT_DOWN
RIGHT_UP
UP
UP_LEFT
UP_RIGHT
}
}
namespace com.mygdx.game.traffic {
enum CarState {
BRAKE
MOVE_X
MOVE_Y
TURNING
}
}
namespace com.mygdx.game.traffic {
enum Command {
GO_STRAIGHT
TURN_LEFT
TURN_RIGHT
}
}
namespace com.mygdx.game.traffic {
interface com.mygdx.game.traffic.Movable {
{abstract} + accelerate()
{abstract} + move()
}
}
namespace com.mygdx.game.traffic {
class com.mygdx.game.traffic.Pedestrian {
- trafficLights : ArrayList<TrafficLight>
+ Pedestrian()
+ Pedestrian()
+ Pedestrian()
+ clone()
+ getPedCommand()
+ getPedState()
+ move()
+ setAhead()
+ setLights()
+ setPedCommand()
+ setPedState()
+ toString()
}
}
namespace com.mygdx.game.traffic {
enum PedestrianCommand {
GO
STOP
}
}
namespace com.mygdx.game.traffic {
enum PedestrianState {
MOVE_X
MOVE_Y
STANDING
}
}
namespace com.mygdx.game.traffic {
class com.mygdx.game.traffic.PedestriansCrossingManager {
+ isDownLEFT : boolean
+ isDownRIGHT : boolean
+ isLeftDOWN : boolean
+ isLeftUP : boolean
+ isRightDOWN : boolean
+ isRightUP : boolean
+ isUpLEFT : boolean
+ isUpRIGHT : boolean
- down : ArrayList<Pedestrian>
- left : ArrayList<Pedestrian>
- pos : float
- pos1 : float
- pos2 : float
- pos3 : float
- pos4 : float
- right : ArrayList<Pedestrian>
- up : ArrayList<Pedestrian>
+ addDown()
+ addLeft()
+ addRight()
+ addUp()
+ check()
+ isDownLEFT()
+ isDownRIGHT()
+ isLeftDOWN()
+ isLeftUP()
+ isRightDOWN()
+ isRightUP()
+ isUpLEFT()
+ isUpRIGHT()
- PedPosBetweenX()
- PedPosBetweenY()
}
}
namespace com.mygdx.game.traffic {
interface com.mygdx.game.traffic.Steerable {
{abstract} + steer()
}
}
namespace com.mygdx.game.traffic {
class com.mygdx.game.traffic.TrafficLight {
- angle : float
- leftColor : Color
- sprite : Sprite
- straightRightColor : Color
+ TrafficLight()
+ getAngle()
+ getLeftColor()
+ getSprite()
+ getStraightRightColor()
+ setAngle()
+ setLeftColor()
+ setLightsColor()
+ setSprite()
+ setSprite()
+ setStraightRightColor()
}
}
namespace com.mygdx.game.traffic {
class com.mygdx.game.traffic.TrafficLightManager {
{static} - GREEN : Color
{static} - LIGHT_INTERVAL : int
{static} - RED : Color
- counter : int
- nextLightCounter : int
- trafficLights : ArrayList<TrafficLight>
+ TrafficLightManager()
+ getCounter()
+ getNextLightCounter()
+ getState()
+ setCounter()
+ setLights()
+ setNextLightCounter()
+ setState()
+ updateLights()
- change()
}
}
namespace com.mygdx.game.traffic {
enum TrafficLightState {
LEFT_HORIZONTAL
LEFT_VERTICAL
STRAIGHT_AND_RIGHT_HORIZONTAL
STRAIGHT_AND_RIGHT_VERTICAL
}
}
namespace com.mygdx.game.traffic {
abstract class com.mygdx.game.traffic.TrafficParticipant {
# angle : float
# imageSrc : String
# maxVelocity : float
# needToAccelerate : boolean
# posX : float
# posY : float
# sprite : Sprite
# velocity : float
{static} - participantsCount : int
+ TrafficParticipant()
+ TrafficParticipant()
+ accelerate()
+ clone()
+ getAngle()
+ getCount()
+ getSprite()
+ getVelocity()
{static} + participantDestroyed()
{abstract} + setAhead()
+ setAngle()
{abstract} + setLights()
+ setPosition()
+ setSprite()
+ setSprite()
+ setSprite()
+ setVelocity()
+ toString()
+ updateSprite()
}
}
com.mygdx.game.traffic.Car .up.|> com.mygdx.game.traffic.Steerable
com.mygdx.game.traffic.Car .up.|> java.io.Serializable
com.mygdx.game.traffic.Car .up.|> java.lang.Cloneable
com.mygdx.game.traffic.Car -up-|> com.mygdx.game.traffic.TrafficParticipant
com.mygdx.game.traffic.Car o-- com.mygdx.game.traffic.Car : carAhead
com.mygdx.game.traffic.Car o-- com.mygdx.game.traffic.Car.CarDirection : carDirection
com.mygdx.game.traffic.Car o-- com.mygdx.game.traffic.Car.CarState : carState
com.mygdx.game.traffic.Car o-- com.mygdx.game.traffic.Car.Command : command
com.mygdx.game.traffic.Car o-- com.mygdx.game.traffic.PedestriansCrossingManager : pedCrossingManager
com.mygdx.game.traffic.Car o-- com.mygdx.game.traffic.Car.CarState : prevState
com.mygdx.game.traffic.Car +-down- com.mygdx.game.traffic.Car.CarDirection
com.mygdx.game.traffic.Car +-down- com.mygdx.game.traffic.Car.CarState
com.mygdx.game.traffic.Car +-down- com.mygdx.game.traffic.Car.Command
com.mygdx.game.traffic.Pedestrian .up.|> java.io.Serializable
com.mygdx.game.traffic.Pedestrian .up.|> java.lang.Cloneable
com.mygdx.game.traffic.Pedestrian -up-|> com.mygdx.game.traffic.TrafficParticipant
com.mygdx.game.traffic.Pedestrian o-- com.mygdx.game.traffic.Pedestrian.PedestrianCommand : pedestrianCommand
com.mygdx.game.traffic.Pedestrian o-- com.mygdx.game.traffic.Pedestrian.PedestrianState : pedestrianState
com.mygdx.game.traffic.Pedestrian +-down- com.mygdx.game.traffic.Pedestrian.PedestrianCommand
com.mygdx.game.traffic.Pedestrian +-down- com.mygdx.game.traffic.Pedestrian.PedestrianState
com.mygdx.game.traffic.PedestriansCrossingManager .up.|> java.io.Serializable
com.mygdx.game.traffic.TrafficLight .up.|> java.io.Serializable
com.mygdx.game.traffic.TrafficLightManager .up.|> java.io.Serializable
com.mygdx.game.traffic.TrafficLightManager o-- com.mygdx.game.traffic.TrafficLightManager.TrafficLightState : state
com.mygdx.game.traffic.TrafficLightManager +-down- com.mygdx.game.traffic.TrafficLightManager.TrafficLightState
com.mygdx.game.traffic.TrafficParticipant .up.|> com.mygdx.game.traffic.Movable
com.mygdx.game.traffic.TrafficParticipant .up.|> java.io.Serializable
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
8f52479e5ad221449af99d3de5fdc7b76b7c541b | 844665d08d1be5dacc41d8495725d881c68dba71 | /Conferencias/Conferencia 4_ Patrones de Diseño de Comportamiento/PrincipleAndPatternDesign/out/production/PrincipleAndPatternDesign/cu/datys/patterns/gof/structural/decorator/class-diagram.puml | 76aa494f4123d848c50d4a64e1cb9c3c07c12806 | [
"MIT"
] | permissive | alexescalonafernandez/curso-patrones-diseno | ec1cf0a993707d78c294208e04604a3a0ffd164e | f586e27791e1281087df6cc137da87f407179e65 | refs/heads/master | 2021-01-25T13:35:26.659206 | 2018-03-02T20:18:06 | 2018-03-02T20:18:06 | 123,588,331 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 558 | puml | @startuml
skinparam backgroundcolor transparent
skinparam classFontSize 18
skinparam noteFontSize 18
skinparam arrowFontSize 18
skinparam classAttributeFontSize 18
skinparam titleFontColor #5cb85c
Title Decorator Pattern
interface Component{
+ void doAction()
}
class ConcreteComponent1 implements Component{
+ void doAction()
}
abstract class Decorator implements Component{
# Component toDecorate
+ Decorator(Component toDecorate)
}
Decorator *-- Component
class ConcreteDecorator1 extends Decorator{
+ void doAction()
}
@enduml |
48ee2bfa3097a113e29c267691fd0e3263ef2fc6 | 9fb800bced4689dc1cd56f5fd38f288062d5140c | /src/users-service/Application/Models/Entities/User.puml | 92a9b65d36f0639dd26d34f3027a6bd3a47bd71b | [] | no_license | converge-app/uml-diagrams | b0638f3b801ced52b650025b1b81d29f4ff345fe | 4202d41a464838d7604062e407b065bf512ad8d6 | refs/heads/master | 2020-11-25T09:53:56.136779 | 2019-12-17T12:11:29 | 2019-12-17T12:11:29 | 228,607,152 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 185 | puml | @startuml
class User {
+ Id : string <<get>> <<set>>
+ FirstName : string <<get>> <<set>>
+ LastName : string <<get>> <<set>>
+ Email : string <<get>> <<set>>
}
@enduml
|
f12369bc29c9af42388e2afe6ad1e99564e6307c | 625e3447fea7ecfac5cd9601974a5439b552200c | /Homework/GUIApplication/Team2/class_diagram/initial_design.puml | e4fd67fbce736e40744a6864512efd2bdb0c722d | [] | no_license | ss900405twtw/SED2019 | f9edec553c22fafb22199dedeb9c25046f2b80f9 | 17e5ceb84f4f8ca84b26013e5ab95516b82e1be4 | refs/heads/master | 2022-07-19T00:13:36.456120 | 2020-05-10T02:56:01 | 2020-05-10T02:56:01 | 262,698,934 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,180 | puml | @startuml
class GUI_Application {
{field} look_and_feel
{method} create()
{method} setStyle()
}
class Motif_Button {
}
class Motif_ScrollBar {
}
class Motif_Window {
}
class PM_Button {
}
class PM_ScrollBar {
}
class PM_Window {
}
note as N1
setStyle (s) {
this.look_and_feel = s
}
create(String widget) {
if (widget == "button" && look_and_feel == "Motif") {
add new Motif_Button()
}
if (widget == "scrollbar" && look_and_feel == "Motif") {
add new Motif_ScrollBar())
}
if (widget == "window" && look_and_feel == "Motif") {
add new Motif_Window()
}
if (widget == "button" && look_and_feel == "PM") {
add new PM_Button()
}
if (widget == "scrollbar" && look_and_feel == "PM") {
add new PM_Button()
}
if (widget == "window" && look_and_feel == "PM") {
add new PM_Button()
}
}
endnote
GUI_Application --> "*" Motif_Button
GUI_Application --> "*" Motif_ScrollBar
GUI_Application --> "*" Motif_Window
GUI_Application --> "*" PM_Button
GUI_Application --> "*" PM_ScrollBar
GUI_Application --> "*" PM_Window
GUI_Application .. N1
@enduml |
852a187fc237a742e639df92aceef6723edb9aea | d68b1330ef8ce59c635f4692417a9192d5206942 | /core/src/no/ntnu/idi/apollo69/uml/generated/classes_only/navigation_classes.plantuml | e13de8e91ee31d3bba60dc79cba2a883714d1357 | [
"MIT"
] | permissive | GardSteinsvik/apollo-69 | 847f74b762383641db20214ff7b5281c9d63f130 | 96cbf617618075a54613112bc8c0b34215fd50f7 | refs/heads/master | 2021-02-12T20:21:06.214711 | 2020-04-27T16:02:37 | 2020-04-27T16:02:37 | 244,626,902 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 355 | plantuml | @startuml
class no.ntnu.idi.apollo69.navigation.Navigator {
- screen : Screen
+ changeScreen()
+ dispose()
+ getScreen()
- setScreen()
}
enum no.ntnu.idi.apollo69.navigation.ScreenType {
GAME
LOBBY
MAIN_MENU
MATCHMAKING
SETTINGS
}
@enduml
|
602484039ad4351926629985fa1441d902516cc8 | 57b81f1517697803f721fb4c7d649822d28497d1 | /docs/design/tefact-edu.puml | 2b5fce40db740942a1b43a5a1a2a68cd32360c1a | [
"MIT"
] | permissive | zhengdeding/tefact-engine | 417c6125853ab1b4db0c35c7e0f24a4e1538a3af | de894e8f8c163cb5aafe360dc146d1a4ded20ddb | refs/heads/master | 2023-03-17T14:04:48.627124 | 2021-03-20T04:30:46 | 2021-03-20T04:30:46 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 8,275 | puml | @startuml
' 课程
package "Course" #DDD {
' 正式课/试听课
class Course {
String id
String name
String teacherEmployeeId 教师
String baseCourseId 基础课程
String campusId 校区
String classroomId 教室
String materialId 素材
TimeStamp startTime
TimeStamp endTime
Number color 颜色(标签)
Number status
String remark 备注
Boolean isLimitStudent 仅自己学员可见
Number applyType 约课方式(小程序/后台 暂未用到)
Number course_type 课程类型
Number course_level_id 课程等级
String saleEmployeeId 销售人员
Number intention 客户意向
String intentionRemark 意向(签到)备注
TimeStamp createTime
String customer_id 客户id
String business_id 客户商机
String subscript 角标
}
' 基础课程
class BaseCourse {
String id
String name
Number courseTypeId 课程种类
String instrumentTypeId 乐器类型
Number classPoints 每次消耗课点
Number classMinutes 每课时分钟数
Number crowdType 适合人群
Number studentCount 最大学员数
Boolean isFormal 是否是正式课
Boolean isOther 能不能约别的课
Number color 颜色(标签)
Boolean isCancel 是否是允许学员取消
Boolean isEnabled 是否启用
TimeStamp createTime
}
' 课程校区(关系表)
class BaseCourseCampus {
String baseCourseId
String campusId
}
' 课程学员(关系表)
class CourseStudent {
String courseId
String studentId
}
' 课程标签(关系表)
class CourseTag {
String courseId
String tagId
}
' 课程签到(关系表)
class CourseSign {
String courseId
String studentId
String teacherId
String signStudentLevelId 签到学员等级
String subjectRemark 主题要点
Number completePercent 完成率
String subjectId 主题
String materialId 课程素材
String studentRemark 备注(学员可见)
String teacherRemark 备注(后台可见)
Number status 签到状态
Number signType 签到类型(正式\试听\非体系课程)
TimeStamp createTime
}
' 校区
class Campus {
String id
Number number 编号
String name
String address
String manageEmployeeId
Number classroomCount 教室数
Number staffCount 员工数
String description
TimeStamp createTime
Boolean isEnabled 是否启用
}
' 教室
class CampusClassroom {
String id
String name
String campusId 校区
Boolean isEnabled 是否启用
}
' 标签
class Tag {
String id
String name
}
' 课程颜色(标签)
enum CourseColor {
RED
BLUE
}
' 主题
class Subject {
String id
String name
String instrumentTypeId 乐器类型
Number difficultyLevelId 难度等级
Number crowdType 适合人群
Boolean isEnabled 是否启用
}
' 主题要点(关系表)
class SubjectEssential {
String subjectId
String essentialId
}
' 主题校区(关系表)
class SubjectCampus {
String subjectId
String campusId
}
' 套餐
class Packet {
String id
String name
Number price
Number originPrice
String intro
String baseCourseId 基础课程
Boolean isHourLimit 是否限课时
Number classHours 课时
Number classPoints 课点
TimeStamp startTime 有效期时间
TimeStamp endTime
Boolean isEnabled 是否启用
}
' 套餐主题(关系表)
class PacketSubject {
String packetId
String subjectId
}
' 套餐校区(关系表)
class PacketCampus {
String packetId
String campusId
}
}
' 人员
package "People" #DDD {
' 学员
class Student {
String id
String name
String phone
Number sex 性别
String number 学号
String campusId 校区
Number studentLevelId 等级
TimeStamp applyTime 报名时间
String teacherEmployeeId 所属老师
Boolean hasBasis 有无基础
Boolean isLockTeacher 锁定老师
String currentPacketId 当前套餐
Boolean isTeachPlan 是否教学计划
String instrumentTypeId 乐器类型
String instrumentUseId 乐器使用情况
Boolean hasComment 是否点评
Boolean isEnabled 能否约课
Boolean isEnd 是否结课
TimeStamp endTime 结课时间
Number allClassHours 总课时
Number usedClassHours 已用课时
Number remainderClassPoints 剩余课点
Number signTimes 签到次数
Boolean isLocked 是否冻结课程
Number lockedTimes 冻结课程次数(需要关系表记录)
Number color 颜色(标签)
Boolean showStudentValue 学员的能力值是否可见
}
' 学员能力值(即主题列表)
class StudentValue {
String studentId
String subjectId
Number value 能力值(备用)
TimeStamp createTime
}
' 冻结课程(关联表)
class StudentCourseLock {
String teacherEmployeeId
String studentId
TimeStamp startTime
TimeStamp endTime
TimeStamp createTime
}
' 学员备注(关联表)
class StudentRemark {
String teacherEmployeeId
String studentId
Number remarkType 备注类型(学员/教师)
String remark
TimeStamp createTime
}
' 员工
class Employee {
String id
Number level
TimeStamp createTime
Boolean isTeacher 是否是教师
String campusId 校区
User userId 平台登录用户ID
}
' 客户
class Customer {
String id
String name
String phone
Number sex
Number ages 年龄段
Number hasArrived 是否二次到店
Number customerSourceId 客户来源
String saleEmployeeId 销售人员
Number hasBasis 有无基础
String currentPacketId 当前套餐
String instrumentTypeId 乐器类型
String campusId 校区
Number status 客户状态(进行中\已成单)
Number intention 客户意向
String remark
Number color 颜色(标签)
String connectEmployeeId 联系客户人
String recommendEmployeeId 获取信息人
TimeStamp createTime
}
' 商机
class Business {
String id
String name 客户名称
String phone
String businessName 商机名称
String customerId 关联客户
Number intention 客户意向
Number businessType 商机类型(试听/非试听)
String saleEmployeeId 销售人员
String teacherEmployeeId 教师
Number sex
Number ages 年龄段
String instrumentTypeId 乐器类型
Number hasBasis 有无基础
String remark
Number color 颜色(标签)
TimeStamp createTime
}
}
' 订单
package "Order" #DDD {
class Order {
String id
String customerId 客户id
String businessId 商机id(获取关联信息)
Number category 订单二级类目
Number orderType 课程类 物品类
String packetId 课程套餐
String instrumentId 物品(与课程套餐/其它三选一)
String otherName 名称(其它时填写)
Number price 价格
Number payPrice 付款金额
Boolean isOwed 是否欠费
PayType payType 付款方式
String connectEmployeeId 联系客户人
String recommendEmployeeId 获取信息人
String saleEmployeeId 销售人员
String auditionTeacherEmployeeId 试听课教师
String teacherEmployeeId 所属老师
String campusId 校区
Number status 状态(有效/退款等)
String remark 备注
String statusRemark 异常情况备注
TimeStamp createTime
}
' 付款类型
enum PayType {
WEIXIN
ALIPAY
BANKCARD
CASH
}
}
' 乐器物品
package "Instrument" #DDD {
class instrument {
String id
String name
Number instrumentTypeId 物品种类
Number price
}
}
package "DataAnalysis" {
class OrderData {
String id
Number finishOrder 已完成订单
Number refundOrder 退费订单
Number courseOrder 课程类订单
Number productOrder 物品类订单
Number allOrder 全部订单
TimeStamp createTime
String remark
}
class TeachData {
String id
Number teacherNum 教师数
Number courseNum 课程数
Number workTime 工作时长
Number usedCourseTime 消耗课时数
Number studentNum 学生数
}
}
@enduml
|
0faf801c20744eeb34b2854780b2d768d4f1c866 | ea92b794f64577cf3f9895848ed841a2482a6d1e | /docs/assets/images/TextTask-umlClassDiagram-130.puml | a6b912ce4c815fb5514c811ac95d358d9bb5aa6c | [
"MIT"
] | permissive | dreambo8563/todo-core | a1cdd6e14ec6445dd1dae84d0ba03bf80b1b09da | 96b2af2b5b5c0ba1d1aaa15eba7061c52cafc611 | refs/heads/master | 2022-11-21T11:51:16.649734 | 2020-07-18T17:57:03 | 2020-07-18T17:57:03 | 274,677,442 | 0 | 0 | MIT | 2020-06-28T10:36:09 | 2020-06-24T13:36:10 | TypeScript | UTF-8 | PlantUML | false | false | 420 | puml | @startuml
hide empty methods
hide empty fields
class "TextTask" {
+content : TextTaskType
+finishDate : FinishDate
+id : string
+owner : ITaskOwner | null
+status : ETaskStatus
+toggle() : void
}
class "PeriodTask" {
+content : T
+finishDate : FinishDate
+id : string
+owner : ITaskOwner | null
+status : ETaskStatus
+toggle() : void
}
"PeriodTask" <|-- "TextTask"
@enduml |
ef3363c0f2431e1dcb38e362137804e8a3d12083 | 6631f2c7a4b3fcde26546ab707faf8a2fa56b160 | /app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/android/support/fragment/fragment.plantuml | c5b432963835f50d89385dc6b553e22394fa7760 | [] | no_license | DeniE46/iMet-raywenderlich- | a051175bbb549f111f6597e0cd9d4f8064ad14c9 | 698820ae72707421f5febaa4987428a258153660 | refs/heads/master | 2020-04-10T21:44:21.743382 | 2019-05-17T10:02:18 | 2019-05-17T10:02:18 | 161,305,177 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,890 | plantuml | @startuml
title __FRAGMENT's Class Diagram__\n
package android.support.fragment {
class R {
- R()
}
}
package android.support.fragment {
class attr {
{static} + coordinatorLayoutStyle : int
{static} + font : int
{static} + fontProviderAuthority : int
{static} + fontProviderCerts : int
{static} + fontProviderFetchStrategy : int
{static} + fontProviderFetchTimeout : int
{static} + fontProviderPackage : int
{static} + fontProviderQuery : int
{static} + fontStyle : int
{static} + fontWeight : int
{static} + keylines : int
{static} + layout_anchor : int
{static} + layout_anchorGravity : int
{static} + layout_behavior : int
{static} + layout_dodgeInsetEdges : int
{static} + layout_insetEdge : int
{static} + layout_keyline : int
{static} + statusBarBackground : int
- attr()
}
}
package android.support.fragment {
class bool {
{static} + abc_action_bar_embed_tabs : int
- bool()
}
}
package android.support.fragment {
class color {
{static} + notification_action_color_filter : int
{static} + notification_icon_bg_color : int
{static} + ripple_material_light : int
{static} + secondary_text_default_material_light : int
- color()
}
}
package android.support.fragment {
class dimen {
{static} + compat_button_inset_horizontal_material : int
{static} + compat_button_inset_vertical_material : int
{static} + compat_button_padding_horizontal_material : int
{static} + compat_button_padding_vertical_material : int
{static} + compat_control_corner_material : int
{static} + notification_action_icon_size : int
{static} + notification_action_text_size : int
{static} + notification_big_circle_margin : int
{static} + notification_content_margin_start : int
{static} + notification_large_icon_height : int
{static} + notification_large_icon_width : int
{static} + notification_main_column_padding_top : int
{static} + notification_media_narrow_margin : int
{static} + notification_right_icon_size : int
{static} + notification_right_side_padding_top : int
{static} + notification_small_icon_background_padding : int
{static} + notification_small_icon_size_as_large : int
{static} + notification_subtext_size : int
{static} + notification_top_pad : int
{static} + notification_top_pad_large_text : int
- dimen()
}
}
package android.support.fragment {
class drawable {
{static} + notification_action_background : int
{static} + notification_bg : int
{static} + notification_bg_low : int
{static} + notification_bg_low_normal : int
{static} + notification_bg_low_pressed : int
{static} + notification_bg_normal : int
{static} + notification_bg_normal_pressed : int
{static} + notification_icon_background : int
{static} + notification_template_icon_bg : int
{static} + notification_template_icon_low_bg : int
{static} + notification_tile_bg : int
{static} + notify_panel_notification_icon_bg : int
- drawable()
}
}
package android.support.fragment {
class id {
{static} + action_container : int
{static} + action_divider : int
{static} + action_image : int
{static} + action_text : int
{static} + actions : int
{static} + async : int
{static} + blocking : int
{static} + bottom : int
{static} + chronometer : int
{static} + end : int
{static} + forever : int
{static} + icon : int
{static} + icon_group : int
{static} + info : int
{static} + italic : int
{static} + left : int
{static} + line1 : int
{static} + line3 : int
{static} + none : int
{static} + normal : int
{static} + notification_background : int
{static} + notification_main_column : int
{static} + notification_main_column_container : int
{static} + right : int
{static} + right_icon : int
{static} + right_side : int
{static} + start : int
{static} + tag_transition_group : int
{static} + text : int
{static} + text2 : int
{static} + time : int
{static} + title : int
{static} + top : int
- id()
}
}
package android.support.fragment {
class integer {
{static} + status_bar_notification_info_maxnum : int
- integer()
}
}
package android.support.fragment {
class layout {
{static} + notification_action : int
{static} + notification_action_tombstone : int
{static} + notification_template_custom_big : int
{static} + notification_template_icon_group : int
{static} + notification_template_part_chronometer : int
{static} + notification_template_part_time : int
- layout()
}
}
package android.support.fragment {
class string {
{static} + status_bar_notification_info_overflow : int
- string()
}
}
package android.support.fragment {
class style {
{static} + TextAppearance_Compat_Notification : int
{static} + TextAppearance_Compat_Notification_Info : int
{static} + TextAppearance_Compat_Notification_Line2 : int
{static} + TextAppearance_Compat_Notification_Time : int
{static} + TextAppearance_Compat_Notification_Title : int
{static} + Widget_Compat_NotificationActionContainer : int
{static} + Widget_Compat_NotificationActionText : int
{static} + Widget_Support_CoordinatorLayout : int
- style()
}
}
package android.support.fragment {
class styleable {
{static} + CoordinatorLayout : int[]
{static} + CoordinatorLayout_keylines : int
{static} + CoordinatorLayout_statusBarBackground : int
{static} + CoordinatorLayout_Layout : int[]
{static} + CoordinatorLayout_Layout_android_layout_gravity : int
{static} + CoordinatorLayout_Layout_layout_anchor : int
{static} + CoordinatorLayout_Layout_layout_anchorGravity : int
{static} + CoordinatorLayout_Layout_layout_behavior : int
{static} + CoordinatorLayout_Layout_layout_dodgeInsetEdges : int
{static} + CoordinatorLayout_Layout_layout_insetEdge : int
{static} + CoordinatorLayout_Layout_layout_keyline : int
{static} + FontFamily : int[]
{static} + FontFamily_fontProviderAuthority : int
{static} + FontFamily_fontProviderCerts : int
{static} + FontFamily_fontProviderFetchStrategy : int
{static} + FontFamily_fontProviderFetchTimeout : int
{static} + FontFamily_fontProviderPackage : int
{static} + FontFamily_fontProviderQuery : int
{static} + FontFamilyFont : int[]
{static} + FontFamilyFont_android_font : int
{static} + FontFamilyFont_android_fontWeight : int
{static} + FontFamilyFont_android_fontStyle : int
{static} + FontFamilyFont_font : int
{static} + FontFamilyFont_fontStyle : int
{static} + FontFamilyFont_fontWeight : int
- styleable()
}
}
R +-down- attr
R +-down- bool
R +-down- color
R +-down- dimen
R +-down- drawable
R +-down- id
R +-down- integer
R +-down- layout
R +-down- string
R +-down- style
R +-down- styleable
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
f042f5e191c396bd314b6521b235b7aba8028d73 | a9fb7d1091064c24021eba0c71fe76cde942b760 | /uml/3.puml | 8dd30be632fb9b444f82cd5c7abd8223ac4851fa | [
"MIT"
] | permissive | 96peterharris/SI_Project | c14d21fd7fea8f699000cda84704485ba0c57d77 | 0958583f28bb0dc0ef5b2daf5ffc8f8f80759feb | refs/heads/main | 2023-05-15T03:53:53.767335 | 2021-06-13T14:01:48 | 2021-06-13T14:01:48 | 367,657,234 | 1 | 0 | MIT | 2021-06-13T14:01:49 | 2021-05-15T14:49:10 | Java | UTF-8 | PlantUML | false | false | 641 | puml | @startuml
class guiContent.Controller {
- Pane graphPane
- Button importBtn
- Button exportBtn
- Button randBtn
- Button addVertexBtn
- Button solveSBtn
- Button solveHBtn
- Button addEdgeBtn
- Button clearBtn
- TextField importTF
- TextField exportTF
- TextField firstVTF
- TextField secondVTF
- Label edgeWarnLabel
- Graph graph
+ <<Create>> Controller()
+ void initialize(URL,ResourceBundle)
+ void handleClicks(ActionEvent)
+ void clearGraph()
}
class guiContent.Main {
+ void start(Stage)
+ {static} void main(String[])
}
javafx.fxml.Initializable <|.. guiContent.Controller
javafx.application.Application <|-- guiContent.Main
@enduml |
80a8320953431ad8f2368fa51a563d888a231feb | 057a86b448c1016b109df8c07af68d065dfd7692 | /docs/diagrams/SuggestCommandClassDiagram.puml | 5dd3eaaf1f4b00104f9f536e1b07462e08a33243 | [
"MIT"
] | permissive | kwekke/main | 3555c4212701c570e6e7074da95fbbeabf76c5a0 | 5a8b16a2d55e7cfeb8ff3479323c5adcda0f848a | refs/heads/master | 2022-03-27T02:25:40.200110 | 2019-11-11T13:03:18 | 2019-11-11T13:03:18 | 209,013,281 | 0 | 0 | NOASSERTION | 2019-09-17T09:29:19 | 2019-09-17T09:29:19 | null | UTF-8 | PlantUML | false | false | 1,237 | puml | @startuml
skinparam classAttributeIconSize 0
package Suggest <<Rectangle>> {
class SuggestPossibleCommand
interface Predicate<Exercise>
class ExercisePredicate
interface BasePropertyPredicate
class ExerciseMusclePredicate
class ExerciseCustomPropertyPredicate
ExercisePredicate ..|> Predicate
SuggestPossibleCommand o-right-> "1" Predicate : "predicate"
BasePropertyPredicate --|> Predicate
ExercisePredicate o-> "1..2" BasePropertyPredicate : "predicates"
ExerciseMusclePredicate .up.|> BasePropertyPredicate
ExerciseCustomPropertyPredicate .up.|> BasePropertyPredicate
}
interface Predicate<Exercise> {
+test()
}
class SuggestPossibleCommand {
-Predicate<Exercise> predicate
+execute(model)
}
class ExercisePredicate {
-BasePropertyPredicate predicates
-boolean isStrict
+test()
-testStrict()
-testLoose()
}
class ExerciseMusclePredicate {
-Set<Muscle> muscles
-boolean isStrict
+test()
-testStrict()
-testLoose()
}
class ExerciseCustomPropertyPredicate {
-Map<String, String> customProperties
-boolean isStrict
+test()
-testStrict()
-testLoose()
}
interface BasePropertyPredicate {
+test()
}
@enduml
|
3a9142f6fcfebce3d974d09160e06db65f67534e | cd46a7f084e1a7ddea394b0e0dfffc35fb7edcd5 | /src/GameObject/GameObject.plantuml | 168019f02eb2a9a97c6f07e4cbf792c22cf1957f | [] | no_license | IulianMurariu-Tanasache/ProiectPAOO_FirstDungeon | 0338c66822bfa8ee1139da18c79ca0e291e1d66c | a2a23eaadc01fd6f70f57b9dbf85ae21f3a6e73d | refs/heads/master | 2023-05-07T20:43:23.334249 | 2021-04-24T09:04:47 | 2021-04-24T09:04:47 | 361,116,355 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 984 | plantuml | @startuml
title __GAMEOBJECT's Class Diagram__\n
namespace Game {
namespace bject {
abstract class GameObject.GameObject {
# scale : int
# speedX : int
# speedY : int
# x : int
# y : int
+ GameObject()
+ GameObject()
{abstract} + getBounds()
+ getSpeedX()
+ getSpeedY()
+ getX()
+ getY()
{abstract} + mapCollision()
{abstract} + render()
+ setSpeedX()
+ setSpeedY()
+ setX()
+ setY()
{abstract} + tick()
}
}
}
namespace Game {
namespace bject {
enum ID {
Enemy
Player
}
}
}
GameObject.GameObject o-- GameObject.ID : id
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
a3d5592a814af105d3ba4682fa754a5120d0dc69 | 41def8874bff59dab073090b426d39c817b20465 | /chessgame.plantuml | 227b0c8528fb7f14bb38fccec92563b4f7be3906 | [] | no_license | linqiu15/wuziqi | 81d4d7d3c8198568c3377348113d30bd31ef3027 | 7cb275e0690b2eacfe294d201cd1eb00e140d98d | refs/heads/master | 2022-07-28T00:08:07.436042 | 2020-02-22T14:44:20 | 2020-02-22T14:44:20 | 237,124,610 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,080 | plantuml | @startuml
class point{
+ point(int,int)
+ ~point()
+ int getx(void)
+ int gety(void)
- int m_x
- int m_y
}
class piece{
+ enum color{black=1,white=2}
+ piece(int,int,color)
+ piece(point*,color)
+ ~piece()
+ color getc(void)
- m_c
}
point<|-- piece
class chessboard{
+ enum size{LEN=15,MAXNUM=225}
+ enum state{empty=0,black=1,white=2}
+ chessboard()
+ ~chessboard()
+ bool istaken(int,int)
+ bool isempty()
+ bool isfull()
+ bool isbound(int,int)
+ int getn()
+ state gets(int,int)
+ bool sets(int,int,state)
+ void show(point*)
- int num
- state array[LEN][LEN]
- void line_draw(int,int)
- void chess_draw(int,int,state,point*)
}
class chessstack{
+ chessstack()
+ ~chessstack()
+ piece* get_last_piece(void)
+ bool pop(void)
+ bool push(piece*)
+ bool isempty()
+ int getn(void)
+ void replay()
- int num
- std::stack<piece*> s;
}
abstract class response{
+ enum type{put,withdraw,giveup,prohibit}
+ virtual response::type get_response_type()=0
}
class put{
+ virtual response::type get_response_type()
}
class withdraw{
+ virtual response::type get_response_type()
}
class giveup{
+ virtual response::type get_response_type()
}
class prohibit{
+ virtual response::type get_response_type()
}
response<|-- put
response<|-- withdraw
response<|-- giveup
response<|-- prohibit
class handle{
+ enum type{none,l3,l4,l5,ll}
+ handle()
+ ~handle()
+ handle::type get_type(chessboard*,point*,int,int)
+ bool check_prohibit(chessboard*,point*)
+ bool isfive(chessboard*,point*)
- const int vec[4][2]
- int single_find_same(chessboard*,piece*,int,int)
- int double_find_same(chessboard*,piece*,int,int)
- int distance_xboarder(int)
- int distance_yboarder(int)
}
abstract class player{
+ virtual response* send_response(chessboard*,point*)=0
+ virtual point* send_point(chessboard*,point*)=0
+ virtual bool allow_withdraw(chessboard*,point*)=0
}
class myplayer{
+ myplayer()
+ virtual response* send_response(chessboard*,point*)
+ virtual point* send_point(chessboard*,point*)
+ virtual bool allow_withdraw(chessboard*,point*)
- const long scoretable[11]
- const int vec[4][2]
- long get_score(int,int)
- long mark_vec(chessboard*,int,int,chessboard::state,int,int)
- long mark(chessboard*,int,int,chessboard::state)
- handle hd
}
class yourplayer{
+ virtual response* send_response(chessboard*,point*)
+ virtual point* send_point(chessboard*,point*)
+ virtual bool allow_withdraw(chessboard*,point*)
}
myplayer<|-- player
yourplayer<|-- player
abstract class judge{
+ virtual bool iswin(void)=0
+ virtual void inter(player*,player*)=0
+ virtual void end(void)=0
}
class myjudge{
+ myjudge()
+ ~myjudge()
+ virtual bool iswin(void)
+ virtual void inter(player*,player*)
+ virtual void end(void)
- bool win
- bool white
- chessboard jcb
- chessstack jcs
- handle hd
- bool isequal(bool,piece::color)
- bool judge_win(void)
- bool deal_put(player*)
- bool deal_withdraw(player*)
- bool record_chess(void)
- bool show_record(void)
}
judge<|-- myjudge
class chessgame{
+ chessgame()
}
@enduml
|
168ffe5f6f894eb8058a2703f1956d176261859b | c083168b4255af019262677c09ac0883d199b532 | /kapitler/media/uml-class-saksmappe.iuml | f359d243acebd6f0dcea1d77ec9608da2b0b12f1 | [] | no_license | gra-moore/noark5-tjenestegrensesnitt-standard | 270f7088898ff0c5fa809b42297cfc56f829eeaa | 0c3936475ce40ab41793b61aee5c4dcdff9c791d | refs/heads/master | 2020-05-22T18:37:59.814751 | 2019-05-13T11:10:23 | 2019-05-13T11:10:23 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 456 | iuml | @startuml
class Sakarkiv.Saksmappe <Mappe> {
+saksaar : integer [0..1]
+sakssekvensnummer : integer [0..1]
+saksdato : date
+administrativEnhet : string [0..1]
+referanseAdministrativEnhet : SystemID [0..1]
+saksansvarlig : string
+referanseSaksansvarlig : SystemID [0..1]
+journalenhet : string [0..1]
+saksstatus : Saksstatus
+utlaantDato : date [0..1]
+utlaantTil : string [0..1]
+referanseUtlaantTil : SystemID [0..1]
}
@enduml
|
52835cf6fb199c7e712da0e103aceae034725134 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/AzureEventGridDestination.puml | 4199e8adaea54f7f28fdec898d55e665a8e2edc3 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 435 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface AzureEventGridDestination [[AzureEventGridDestination.svg]] extends Destination {
type: String
uri: String
accessKey: String
}
interface Destination [[Destination.svg]] {
type: String
}
@enduml
|
3748958cb6925b28c362b6d2f57a540c281e4061 | 015af2febe164b9667ae91319080ed064c132b0e | /kms/auth-service/src/main/java/com/uwaterloo/iqc/authservice/clients/clients.plantuml | f755d78b95a5bf4b6a92cccf7e2101cd1bbffc8b | [
"MIT"
] | permissive | crazoter/qkd-net | fb247b3a122821451a64ea587619926d9571444c | 182860ec031bf066fd3a9fa60d6d3629b4d37899 | refs/heads/master | 2022-08-25T23:32:53.109504 | 2020-05-20T02:25:20 | 2020-05-20T02:25:20 | 263,811,400 | 1 | 0 | null | 2020-05-14T04:05:04 | 2020-05-14T04:05:04 | null | UTF-8 | PlantUML | false | false | 1,373 | plantuml | @startuml
title __CLIENTS's Class Diagram__\n
namespace com.uwaterloo.iqc.authservice {
namespace clients {
class com.uwaterloo.iqc.authservice.clients.Client {
- authorities : String
- authorizedGrantTypes : String
- autoApproveScopes : String
- clientId : String
- id : Long
- scopes : String
- secret : String
+ Client()
+ getAuthorizedGrantTypes()
+ getClientId()
+ getScopes()
+ getSecret()
}
}
}
namespace com.uwaterloo.iqc.authservice {
namespace clients {
class com.uwaterloo.iqc.authservice.clients.ClientConfiguration {
- clientRepository : ClientRepository
- loadBalancerClient : LoadBalancerClient
+ ClientConfiguration()
+ loadClientByClientId()
}
}
}
namespace com.uwaterloo.iqc.authservice {
namespace clients {
interface com.uwaterloo.iqc.authservice.clients.ClientRepository {
{abstract} + findByClientId()
}
}
}
com.uwaterloo.iqc.authservice.clients.ClientConfiguration .up.|> ClientDetailsService
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
be9455f8e9911d8e8906515b2714091a3ebe2bbe | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-codelist-avskrivningsmaate.iuml | 4a1b5148bb91df75239a9a0cdfd4b6e2bf45b71a | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 264 | iuml | @startuml
class Kodelister.Avskrivningsmaate <<codelist>> {
+Besvart med brev = BU
+Besvart med e-post = BE
+Besvart på telefon = TLF
+Tatt til etterretning = TE
+Tatt til orientering = TO
+Besvart med notat = BN
+Saken ble avsluttet = SA
}
@enduml
|
d5e5088a7e977ba5ea50caa6a09b3e8ecaf01131 | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-class-arkivenhet.puml | be806d4b9440649984941f7762146544d58013e9 | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 1,330 | puml | @startuml
skinparam nodesep 100
hide circle
class Arkivstruktur.Arkivenhet {
+systemID : SystemID [0..1] [1..1]
+endretDato : datetime [0..1]
+opprettetDato : datetime [0..1] [1..1]
+opprettetAv : string [0..1] [1..1]
+endretAv : string [0..1] [1..1]
+referanseEndretAv : SystemID [0..1] [1..1]
+referanseOpprettetAv : SystemID [0..1] [1..1]
}
class LoggingOgSporing.Endringslogg {
}
Arkivstruktur.Arkivenhet "0..1" o-- "endringslogg 0..*" LoggingOgSporing.Endringslogg
class Arkivstruktur.Arkiv <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Arkiv
class Arkivstruktur.Arkivdel <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Arkivdel
class Arkivstruktur.Arkivskaper <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Arkivskaper
class Arkivstruktur.Dokumentbeskrivelse <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Dokumentbeskrivelse
class Arkivstruktur.Klasse <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Klasse
class Arkivstruktur.Klassifikasjonssystem <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Klassifikasjonssystem
class Arkivstruktur.Mappe <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Mappe
class Arkivstruktur.Registrering <Arkivenhet> {
}
Arkivstruktur.Arkivenhet <|-- Arkivstruktur.Registrering
@enduml
|
33fb600b161b5995f9c3d1e4f2676019863089be | 02b0d37dad8182bfbc5414bbd250f36c6e888b28 | /PlantUml/Scripts/Libs/UI/UIDialog.puml | 993c96d1528e4807b3b9504d048402d4a4c2582f | [] | no_license | Darcy97/U3D_Libs | ee8b1afb4e4cdc99fd80ab404fc8171cf2181ca0 | cc6143112916cafa346a00bc1fab7841b7888444 | refs/heads/master | 2020-06-21T16:37:56.155301 | 2019-08-20T07:04:09 | 2019-08-20T07:04:09 | 197,504,293 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 85 | puml | @startuml
class UIDialog {
# CloseButton : Button
}
UIBase <|-- UIDialog
@enduml
|
9abe8b3dbd9f353bd50c4bfc964f18b261cd35a3 | ad3cc5450c8e0d30e3ddbc36db6fbb053e8965fb | /projects/oodp/html/umlversion/sg/edu/ntu/scse/cz2002/features/OrderItem.puml | dad30d2b91c3a7c4b5009b17f860eb6154dda654 | [] | no_license | itachi1706/How-to-use-Git-NTUSCSE1819-Site | d6fcba79d906e9916c3961b11a6e1318d8a0f602 | dbce2f56b42e15be96bd40fd63e75389d397ca34 | refs/heads/master | 2021-07-12T15:24:44.197085 | 2020-08-01T12:31:23 | 2020-08-01T12:31:23 | 172,893,030 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 693 | puml | @startuml
class OrderItem [[../sg/edu/ntu/scse/cz2002/features/OrderItem.html]] {
-itemId: int
-quantity: int
-itemTotal: double
-itemType: OrderItem.OrderItemType
+OrderItem(otherData:String[])
+OrderItem(itemId:int, quantity:int, itemType:OrderItem.OrderItemType)
+toCompiledString(): String
-getPromo(): PromotionItem
-getMenuItem(): MenuItem
+getItem(): RestaurantItem
+getQuantity(): int
+setQuantity(quantity:int): void
+isPromotion(): boolean
+getItemTotal(): double
+calculateTotal(): void
}
center footer UMLDoclet 1.1.3, PlantUML 1.2018.12
@enduml
|
99f4aab87022b82321c595f4610246097848a345 | e192d7ea430aae13299b219e78012f6111ad6d60 | /asciidocs/plantuml/hotel.puml | f9d841d01306a39561c32fbfb9a25c61dfdfa462 | [] | no_license | 2122-4ahif-syp/01-cld-hotel-tamaraMelcher | 3d7a6361e1400c25423107a5e13f6a8411e1d9ad | 1211265fadc575e51ad3fd34cbd2130b1bc77089 | refs/heads/main | 2023-08-15T04:44:35.003514 | 2021-10-11T08:50:29 | 2021-10-11T08:50:29 | 415,813,229 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 956 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Room{
-int number
Category:category
}
class Category{
-int id
-string category
}
class Employee{
-int svnr
-string name
-string address
}
class RoomCleaner{
-string description
Room:room
}
class Supervisor{
-string description
-string subject
}
class Guest{
-int guestnr
-string name
-string address
}
class Booking{
Room:room
Guest:guest
LocalDate arrivalDate
LocalDate departureDate
}
class ServicePackage{
-string description
-double price
-int numberOf
}
class ServicePackageSupervisor{
ServicePackage:servicePackage
Supervisor:supervisor
}
Room "*" -> "1" Category
Guest "*"--"*" Room
(Guest,Room)..Booking
Employee "1"-->"*" Supervisor
Employee "1"-->"*" RoomCleaner
Room "1"<--"*" RoomCleaner
ServicePackage "*"--"1..*" Supervisor
(ServicePackage,Supervisor)--ServicePackageSupervisor
@enduml |
45eb07cf36d9affd3a764f11af5fbb3173a20bf5 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/Signals/TreeView/SignalReceiverTreeView.puml | 4fa617d27811432f91cacab142af33c673c73755 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,037 | puml | @startuml
class SignalReceiverTreeView {
+ dirty : bool <<set>>
<<const>> k_VerticalPadding : float = 5
<<const>> k_HorizontalPadding : float = 5
+ SignalReceiverTreeView(state:TreeViewState, multiColumnHeader:MultiColumnHeader, receiver:SignalReceiver, serializedObject:SerializedObject)
+ readonlySignals : bool <<get>> <<set>>
+ SetSignalContext(assetContext:SignalAsset) : void
SetSerializedProperties(serializedObject:SerializedObject) : void
+ Draw() : void
+ RefreshIfDirty() : void
+ {static} GetColumns() : MultiColumnHeaderState.Column[]
AddItem(root:TreeViewItem, id:int, enabled:bool) : void
GetTotalHeight() : float
{static} FindIdForSignal(signals:SerializedProperty, signalToFind:SignalAsset) : int
}
TreeView <|-- SignalReceiverTreeView
SignalReceiverTreeView --> "signals" SerializedProperty
SignalReceiverTreeView --> "events" SerializedProperty
SignalReceiverTreeView --> "m_Target" SignalReceiver
SignalReceiverTreeView --> "signalAssetContext" SignalAsset
@enduml
|
7849b4b21df30ffd3a92b88d8c0458ea6e96d6d3 | 9fb800bced4689dc1cd56f5fd38f288062d5140c | /src/profile-service/Application/Models/DataTransferObjects/ProfileCreationDto.puml | 7f964f6512abb761f3eacaeeccc79a45da5cd7ab | [] | no_license | converge-app/uml-diagrams | b0638f3b801ced52b650025b1b81d29f4ff345fe | 4202d41a464838d7604062e407b065bf512ad8d6 | refs/heads/master | 2020-11-25T09:53:56.136779 | 2019-12-17T12:11:29 | 2019-12-17T12:11:29 | 228,607,152 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 345 | puml | @startuml
class ProfileCreationDto {
+ UserId : string <<get>> <<set>>
+ ProfilePictureUrl : string <<get>> <<set>>
+ Title : string <<get>> <<set>>
+ Rating : decimal <<get>> <<set>>
+ Description : string <<get>> <<set>>
+ Skills : List<string> <<get>> <<set>>
+ Experience : List<string> <<get>> <<set>>
}
@enduml
|
b2d69d9e96c54995a03d68d13f1766773064afd3 | 5229c30142a44eba1f7afb8c57f12bf187bc2d03 | /src/main/kotlin/com/mgy/observer/observer.puml | 8fcc58af66ff4b3e94a6a9d61246ba946d15cc6e | [] | no_license | Drunkman/kotlin-design-pattern | 16b98c7fff938c06c4623568673a1c8cc28e606b | 91196fcee1b4fc09350666ef537135f8f0e45b3c | refs/heads/master | 2020-03-19T21:13:16.754197 | 2018-08-12T14:21:07 | 2018-08-12T14:21:07 | 136,933,013 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 293 | puml | @startuml
interface Observer{
+update()
}
class Orcs{
+update()
}
class Hobbits{
+update()
}
class Weather{
-observers
+addObserver()
+removeObserver()
-notifyObservers()
}
Orcs --|> Observer
Hobbits --|> Observer
Weather -left-> Observer: -observers
@enduml |
2971ae68cf08a7cd0e4479cd5c1cdecc328b7769 | 2658a42eb6bbcc140cae19c1120864277f893b2f | /documentation/src/orchid/resources/assets/diagrams/rule.puml | adf0c739063e2e135296ce95f224011958772734 | [
"Apache-2.0"
] | permissive | tuProlog/2p-kt | 0935dbeb88272f79df1ebbd2339767bccc8ecfa4 | 6510ea0414985b708dd492ee240727f2e261176c | refs/heads/master | 2023-08-17T18:41:12.310798 | 2023-07-19T10:34:16 | 2023-07-19T13:13:27 | 230,784,338 | 84 | 15 | Apache-2.0 | 2023-09-13T22:49:25 | 2019-12-29T17:51:34 | Kotlin | UTF-8 | PlantUML | false | false | 283 | puml | @startuml
left to right direction
skinparam shadowing false
interface Struct
interface Clause
interface Rule {
+ head: Struct
+ body: Term
+ {static} of(head: Struct, **varargs** body: Term): Rule
}
interface Fact
Struct <|-- Clause
Clause <|-- Rule
Rule <|-- Fact
@enduml |
fc28a5c5453b75dbaa4ca3a13d690d516d9afe57 | 7a674dff87b93cae3183399c4d1ce77c0742fca6 | /umlcomposition.puml | feeef2e906eb4200be62026fec856568edb22d53 | [] | no_license | DDshka/PartyCalculator | 2415ae351875f612ef0958cf64ecaa09a759d072 | c07128306d8dc02905bcbd7ff7c10c85b29c33ab | refs/heads/master | 2022-12-18T07:58:27.008254 | 2019-12-25T08:15:58 | 2019-12-25T08:15:58 | 134,732,284 | 0 | 0 | null | 2022-05-25T01:38:40 | 2018-05-24T15:08:21 | Python | UTF-8 | PlantUML | false | false | 803 | puml | @startuml
enum State {
ACTIVE
INACTIVE
}
class Profile {
String name
String email
}
class DjangoUser {
User user
}
class Party {
String name
Profile created_by
State _state
Integer template_party_id
}
class Food {
String name
Decimal price
}
class Membership {
Integer profile_id
Integer party_id
Boolean is_owner
Decimal total_sponsored
}
class MemberFoodExclude {
Integer membership_id
Integer ordered_food_id
}
class OrderedFood {
Integer party_id
String food_name
Decimal price_per_unit
Integer quantity
}
DjangoUser "1" --- "1" Profile
Profile "1" *-- "many" Membership
Membership "1" *-- "many" MemberFoodExclude
Membership "many" *-- "1" Party
Party "1" --* "many" OrderedFood
Party "1" *-- "1" Profile
TemplateParty "1" --* "many" Party
@enduml |
be3b0e94cf3b84cd306c3e5f3739392a25935d41 | 56c3d96069bdb4cdeadfae340022e3b90511afc0 | /src/incl/psr7/upload.puml | 139411dffaa779b0ef8e4bcebad1e476ca495ab8 | [] | no_license | nibralab/joomla-architecture | 38db6234c9e12298716e529e46c907387e214166 | 99ab82e904fc56dc6113cf58a5990b295951aa12 | refs/heads/master | 2021-01-19T04:06:37.675771 | 2017-07-07T17:13:48 | 2017-07-07T17:13:48 | 36,740,646 | 3 | 5 | null | 2016-04-09T15:01:23 | 2015-06-02T14:57:25 | PHP | UTF-8 | PlantUML | false | false | 397 | puml | @startuml
namespace Psr.Http.Message {
interface UploadedFileInterface {
+{abstract} StreamInterface <b>getStream</b>()
+{abstract} <b>moveTo</b>(string)
+{abstract} int|null <b>getSize</b>()
+{abstract} int <b>getError</b>()
+{abstract} string|null <b>getClientFilename</b>()
+{abstract} string|null <b>getClientMediaType</b>()
}
}
@enduml
|
8fc4054669e4a6c4de14e31b414a3af9e1075058 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/TaxCategoryAddTaxRateAction.puml | 3a6d8411dbfb55f883e2b4d07f43c7f9a26c9b2c | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 488 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface TaxCategoryAddTaxRateAction [[TaxCategoryAddTaxRateAction.svg]] extends TaxCategoryUpdateAction {
action: String
taxRate: [[TaxRateDraft.svg TaxRateDraft]]
}
interface TaxCategoryUpdateAction [[TaxCategoryUpdateAction.svg]] {
action: String
}
@enduml
|
dedc8ddf6e101a45857373a010a5813cc583990e | 605cac101260b1b451322b94580c7dc340bea17a | /malokhvii-eduard/malokhvii02/doc/plantuml/ua/khpi/oop/malokhvii02/event/GlobalEventsContainer.SingletonHolder.puml | 83f62bb128c90828c106a0bb1e6f95020ef2888e | [
"MIT"
] | permissive | P-Kalin/kit26a | fb229a10ad20488eacbd0bd573c45c1c4f057413 | 2904ab619ee48d5d781fa3d531c95643d4d4e17a | refs/heads/master | 2021-08-30T06:07:46.806421 | 2017-12-16T09:56:41 | 2017-12-16T09:56:41 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 161 | puml | @startuml
class GlobalEventsContainer.SingletonHolder {
{static} -instance: GlobalEventsContainer
-SingletonHolder()
}
@enduml
|
b632af35d950edfdfc38420d24e740efb7c76611 | 02b0d37dad8182bfbc5414bbd250f36c6e888b28 | /PlantUml/Scripts/Design Patterns/Factory/Pizza/Ingredient/Ingredient.puml | 97eb605aee44925ff10394dc02740b0a8ba8e0b9 | [] | no_license | Darcy97/U3D_Libs | ee8b1afb4e4cdc99fd80ab404fc8171cf2181ca0 | cc6143112916cafa346a00bc1fab7841b7888444 | refs/heads/master | 2020-06-21T16:37:56.155301 | 2019-08-20T07:04:09 | 2019-08-20T07:04:09 | 197,504,293 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 103 | puml | @startuml
abstract class Ingredient {
+ Name : string <<get>> <<set>>
+ Ingredient()
}
@enduml
|
c415c94bc449552b348e2e9cc33a0dca609e0278 | baf18fbf9ad3fbc94fc7e7aa22c1daec5dce57ce | /ProyectoTDP/src/Misc/Misc.puml | 36ac52b7bb1a3646d5aa671c14a8a86a311e59cf | [] | no_license | Nicolas-Guasch/Proyecto-TDP | 9dc37086538f8f7b96cd2cad2981b0176a858439 | 0e2e0bc65790cf9a8c615163bcd0f3c84bcd3327 | refs/heads/master | 2020-03-26T09:52:51.608125 | 2018-11-30T01:31:33 | 2018-11-30T01:31:33 | 144,770,001 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 140 | puml | @startuml
package Misc{
class DeathStar{
+{static} get():IGameObject
-{static} instance : IGameObject
}
}
@enduml
|
8388465f63d0f02814bf837e26696910fcb47fee | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ExternalOAuthFailedError.puml | bbd9055a8bf1716f326c2dc9e35255dfde057e89 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 435 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface ExternalOAuthFailedError [[ExternalOAuthFailedError.svg]] extends ErrorObject {
code: String
message: String
}
interface ErrorObject [[ErrorObject.svg]] {
code: String
message: String
}
@enduml
|
9d61209a5acecbbaccd08c5c29fd3db670ecf3df | 2c7b3d0a9f435618ac6d5e165333d97f0dffb1ce | /src/main/java/com/mrathena/design/pattern/creational/patterns/builder/pattern/builder.pattern.puml | b87d580e127e2ee52b86c74868aeade28d4c028d | [] | no_license | mrathena/design.pattern | 0a068b32e670c8856638557be23d93a9bd679ca8 | a65520b5a130cab5b163e9d99665ce5bdcb017d9 | refs/heads/master | 2021-06-03T01:13:15.722914 | 2020-07-02T08:02:08 | 2020-07-02T08:02:08 | 223,210,637 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 654 | puml | @startuml
class Product {
- String head
- String body
- string arm
- String leg
- String foot
}
abstract class AbstractBuilder {
# Product product = new Product()
+ abstract void buildHead()
+ abstract void buildBody()
+ abstract void buildFoot()
+ Product build() return product
}
class ConcreteBuilder extends AbstractBuilder {
+ void buildHead()
+ void buildBody()
+ void buildFoot()
}
class Directory {
- AbstractBuilder builder
+ Product build() return builder.build()
}
AbstractBuilder *-- Product
ConcreteBuilder ..> Product
Directory o-- AbstractBuilder
Directory ..> Product
@enduml |
fd371fb608a09b39c4a49a5ecd06f484e8b3b458 | 0505c7b9c7d04041d7545facc40dd29196eee9d2 | /Docs/GameClassDiagram.puml | 40f9f5884ddf52d3387933b893e7f54cf68f7cd1 | [] | no_license | v-bodnar/Spartaaa | 3a61d890d8654e5c1b4c8a42e8328cd1c43c6e7c | 5a83c5b187dfb5c2917896bf0bfe2c394d514f5f | refs/heads/master | 2023-03-18T08:23:25.685552 | 2021-11-25T16:36:16 | 2021-11-25T16:36:16 | 253,110,684 | 0 | 1 | null | 2023-03-06T18:38:35 | 2020-04-04T22:29:21 | Java | UTF-8 | PlantUML | false | false | 4,600 | puml | @startuml
title Game - Class Diagram
package "com.freetimers.spartacus.game"{
+class GameFactory{
Game createGame(Deck<IntrigueCard> intrigueDeck, Deck<MarketCard> marketDeck, Deck<DominusCard> dominusDeck)
}
GameFactory *-- Game
+interface Game {
+String getId()
+boolean connect(String password)
+void selectDominus(PlayerDto player)
+int getRound()
' Upkeep
+void chooseGladiatorsToRelease(DominusDto target)
' Intrigue phase
+void chooseGladiatorsToRelease(DominusDto target)
+DominusDto getActiveDominus()
+void requestHelp(DominusDto source, DominusDto target, IntrigueCard intrigue)
+CompletionStage<Void> playIntrigue(DominusDto source, DominusDto target, IntrigueCard intrigue)
+void sellIntrigue(IntrigueCardDto intrigue)
+void useDominusSkill(DominusDto dominus)
+CompletionStage<Void> playReaction(DominusDto source, ReactionCard reactionCard, IntrigueCard intrigueTarget)
+void finishTurn(DominusDto dominus)
' MarketPhase
+CompletionStage<Void> makeOffer(OfferDto offer)
+void acceptOffer(OfferDto offer)
+void declineOffer(OfferDto offer)
+void sellCard(DominusDto source, Card card)
+void finishTrading(DominusDto dominus)
+void makeBet(DominusDto source, int goldCoins)
}
~class CoreGame extends Game{
-Instant startTime
-Instant finishedTime
-List<Dominus> dominusList
-Deck<MarketCard> marketDeck
-Deck<IntrigueCard> intrigueDeck
-Phase gamePhase
-State gameState
-List<UpkeepPhase> upkeepPhase
-List<IntriguePhase> intriguePhase
-List<MarketPhase> marketPhase
-List<ArenaPhase> arenaePhase
}
CoreGame *-- Dominus
CoreGame *-- Phase
CoreGame *-- UpkeepPhase
CoreGame *-- IntriguePhase
CoreGame *-- MarketPhase
CoreGame *-- ArenaPhase
CoreGame *-- State
~class Dominus{
-DominusCard dominusCard
-Player activePlayer
-List<GladiatorCard> gladiators
-List<SlaveCard> slaves
-List<EquipmentCard> equipmentCard
-List<IntrigueCard> hand
-Integer guardsNumber
-Integer goldCoins
-Integer influence
-boolean arenaHost
~void giveGold(int goldCoins)
~void takeGold(int goldCoins)
~void increaseInfluence(int influence)
~void decreaseInfluence(int influence)
~void giveCard(Card card)
~void takeCard(Card card)
~void moveGuardFromHand()
}
Dominus*--Player
~class Player{
-String name
-String sessionToken
-String avatar
~getters()
}
~class UpkeepPhase{
~void chooseGladiatorsToRelease(Dominus target)
}
UpkeepPhase*--Dominus
~class IntriguePhase{
List<Intrigue> intrigues
~Dominus getActiveDominus()
~boolean isDominusActive()
~void requestHelp(Intrigue intrigue)
~CompletionStage<Void> playIntrigue(Intrigue intrigue)
~void sellIntrigue(IntrigueCard intrigue)
~void useDominusSkill(Dominus dominus)
~void playReaction(Intrigue intrigue)
~void finishTurn(Dominus dominus)
}
IntriguePhase*-- Dominus
IntriguePhase*-- Intrigue
~class Intrigue{
-IntrigueState intrigueState
-Dominus source
-Dominus support
-Set<Dominus> target
-SchemeCard schemeCard
-List<ReactionCard> reactions
~getters()
playReaction(Intrigue intrigue)
}
Intrigue *-- IntrigueState
Intrigue *-- Dominus
~class MarketPhase{
-List<MarketCard> auction
-MarketCard revealedMarkedCard
-Map<Dominus, MarketCard> completedTrades
-List<Offer> offersMade
-Map<Dominus, Integer> stash
~makeOffer(Offer offer)
~void acceptOffer(Offer offer)
~void declineOffer(Offer offer)
~void finishTrading(Dominus dominus)
~void makeBet(Dominus source, int goldCoins)
}
MarketPhase *-- Dominus
MarketPhase *-- Offer
~class Offer{
-String id
-Dominus source
-Card card
-Integer goldCoins
-Dominus target
-OfferState state
~getters()
}
Offer *-- OfferState
Offer *-- Dominus
enum IntrigueState{
ACTIVE
SUCCESS
FAILURE
}
enum OfferState{
ACTIVE
DECLINED
}
enum State{
NEW
STARTED
PAUSED
ABANDONED
FINISHED
}
enum Phase{
LOBBY
UPKEEP
INTRIGUE
MARKET
ARENA
AWARDS
}
}
@enduml |
a93bf4033370c64f808f1eb31db28126dd362919 | eb79b5e41b205bca757ecb47616d107d0c78e13d | /design_patterns/creational/builder/1. builder_pattern.puml | f268b269a08bb87ba6263f92582d08e5f5f4dafd | [] | no_license | kevinwong1983/exploration | 6023bb1c903c316794b132b1bff4ef817fe55f5d | 20029c025c7ae44e0dba535a6ec47b065b19f65b | refs/heads/master | 2022-06-09T09:48:26.087800 | 2022-06-05T22:29:47 | 2022-06-05T22:29:47 | 207,248,735 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 844 | puml | @startuml
skinparam monochrome true
class Director {
construct()
}
interface Builder {
buildPart()
}
class ConcreteBuilder {
buildPart()
build()
}
Director -l-o Builder
Builder <|-r- ConcreteBuilder
note TOP of Director
Director uses the builder interface
to assemble the product. Depending on
which concrete builder it is using, it will
result in different concrete products.
end note
note TOP of ConcreteBuilder
Once the Director has called the
methods to build the product, the
director needs to get a reference
to the finished product. Here is where
the build method comes in.
The build method takes all the parts
that have been added to the object via the
Builder interace, assembles the final
product and returns that product to the
Director.
end note
@enduml |
fe6c354ddde2e055ad52845a846a7499b5b43617 | 21a1a144906036f6f69e8dde579cc293817797d4 | /docs/DIAGRAMMA_CLASSI.puml | 11133c461a73793000fb71160d609365b1d3876b | [] | no_license | Diffblue-benchmarks/Frarlo-GiocoDeiCammelli | 55a79629979b5d6fda07ea7999e3db1eb2bbee8c | 5609b680335e12566f19b28bc738bf73a2e33de7 | refs/heads/master | 2020-05-26T11:05:49.603090 | 2019-05-23T10:05:08 | 2019-05-23T10:05:21 | 188,209,826 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,304 | puml | @startuml GiocoPalla
PApplet <|-- GiocoPalla
class GiocoPalla {
-{static}INSTANCE: GiocoDeiCammelli
--
-inputManager: InputManager
-valueManager: ValueManager
-entityManager: EntityManager
-currentGui: Gui
--
'Ereditato da PApplet
+width: int
'Ereditato da PApplet
+height: int
--
-GiocoDeiCammelli()
+{static} getInstance(): GiocoDeiCammelli
--
'Effettua il setup della finestra di processing ed
'inizializza gli attributi della classe
+setup(): void
'Setta la dimensione della finestra
+settings(): void
'Disegna la finestra di gioco (gui) corrente
+draw(): void
--
'Cambia la finestra di gioco (gui) visualizzata
+displayGui(newGui: Gui): void
}
GiocoPalla"1" -- "1"ScaledResolution: >
class ScaledResolution {
-width: float
-height: float
--
-scaledWidth: float
-scaledHeight: float
--
-widthScaleFactor: float
-heightScaleFactor: float
--
+ScaledResolution(width: float, height: float, scaledWidth: float, scaledHeight: float)
+ScaledResolution(width: float, height: float, scaleFactor: float)
+setupScaling(enable: true): void
+scaleX(toScale: float): float
+scaleY(toScale: float): float
}
GiocoPalla"1" -- "1"InputManager: >
class InputManager {
-subscriptions: Map<Object, InputSubscription>
+subscribe(subscriber: Object): InputSubscription
+unsubscribe(subscriber: Object): InputSubscription
+post(letto: InputData);
}
InputManager"1" -- "0...*"InputSubscription: >
class InputSubscription {
-queue: Queue<InputData>
+poll(): InputData
~post(letto: InputData);
}
InputSubscription -- InputData: >
interface InputData {
}
InputData <|-- NoInput
class NoInput {
-NoInput()
+{static}instance(): NoInput
}
InputData <|-- InputGyroscope
class InputGyroscope {
-xAxis: float
-yAxis: float
}
GiocoPalla -- Gui
'Interfaccia di base che rappresenta una schermata del gioco
'(ex. schermata di gioco, menu principale, menu delle opzioni, etc.)
interface Gui {
'Disegna la Gui
+onRender(): void
'Chiamato quando la finestra cambia dimensioni
+onResize(newWidth: float, newHeight: float): void
'Clicka la gui alle coordinate date
+onClick(xPos: float, yPos: float): void
'Chiamato quando la gui viene chiusa (perchè cambiata con un'altra)
+onGuiClose(): void
}
Gui <|-- BaseGui
'Implementazione di base della Gui con implementazioni dei metodi e
'attributi che sono comuni a gran parte delle gui
abstract class BaseGui {
'Componenti che compongono questa gui
~components: List<GuiComponent>
~width: float;
~height: float;
'Disegna i componenti della gui
+onRender(): void
'Si occupa di determinare quale elemento della gui sia stato clickato
'e richiama il relativo metodo
+onClick(xPos: float, yPos: float): void
'Setta dimensioni e richiama l'altro onResize
+onResize(newWidth: float, newHeight: float): void
--
'Metodi vuoti implementati solo per evitare di doverlo
'poi fare per ogni classe che estende questa
+onResize(): void
+onGuiClose(): void
}
BaseGui"1" o-- "0...*"GuiComponent: contains >
'Interfaccia di base per ogni classe che rappresenta un elemento della gui
'(ex. bottone, label, textbox, etc)
interface GuiComponent {
+onRender(): void
+intersects(xPos: float, yPos: float): boolean
+onClick(xPos: float, yPos: float): void
--
+getX(): float
+setX(float x): void
+setCenterX(float x): void
--
+getY(): float
+setY(y: float): void
+setCenterY(y: float): void
--
+float getWidth(): float
+setWidth(width: float): void
--
+getHeight(): float
+void setHeight(height: float): void
}
GuiComponent <|-- BaseGuiComponent
'Implementazione di base della Gui con implementazioni dei metodi e
'attributi che sono comuni a gran parte dei componenti
abstract class BaseGuiComponent {
~x: float
~y: float
~width: float
~height: float
'Determina se il componente occupa la posizione data
+intersects(xPos: float, yPos: float): boolean
+isHovered(): boolean
+onResize(): void
}
BaseGui <|-- GameGui
'Schermata di gioco, in cui si svolge il gioco vero e proprio
class GameGui {
-{static}backgroundColor: ColorValue
'Inizializza il bottone per mettere il gioco in pausa
+GameGui()
'Disegna il gioco e i componenti della gui
+onRender(): void
}
GiocoPalla -- EntityManager
class EntityManager {
-entities: List<Entity>
+render(): void
}
EntityManager"1" o-- "0...*"Entity: contains >
interface Entity {
'Gestisce la fisica dell'entità
+onTick(): void
'Disegna l'entità
+onRender(): void
}
Thread <|-- PhysicsThread
Entity -- PhysicsThread
InputSubscription -- PhysicsThread
class PhysicsThread {
-entity: Entity
+run(): void
}
Entity <|-- BallEntity
class BallEntity {
-xPos: float
-yPos: float
-radius: float
'Muove la palla
+onTick(): void
'Disegna la palla
+onRender(): void
}
Entity <|-- PoolEntity
'TODO: figure out how to do this
class PoolEntity {
-xPos: float
-yPos: float
-xWidth: float
-yWidth: float
-height: float
+onTick(): void
+onRender(): void
}
BaseGui <|-- PauseMenuGui
'Gui che viene mostrata quando il gioco viene messo in pausa
class PauseMenuGui {
'Inizializza i 3 bottoni per mettere riprendere il gioco,
'aprire le opzioni e chiudere il gioco
+PauseMenuGui()
}
PauseMenuGui -- PauseMenuButton
BaseGuiComponent <|-- PauseMenuButton
class PauseMenuButton {
-content: String
-color: int
-focusedColor: int
-actionListeners: List<Runnable>
'Disegna il bottone
+onRender(): void
'Richiama i listener
+onClick(xPos: float, yPos: float): void
+addActionListener(listener: Runnable): void
+removeActionListener(listener: Runnable): void
}
GameGui -- PauseButton
BaseGuiComponent <|-- PauseButton
class PauseButton {
-actionListeners: List<Runnable>
'Disegna il bottone
+onRender(): void
'Richiama i listener
+onClick(xPos: float, yPos: float): void
+addActionListener(listener: Runnable): void
+removeActionListener(listener: Runnable): void
}
GiocoPalla -- ValueManager
class ValueManager {
-values: List<Value<?>>
-immutableValues: List<Value<?>>
+registerValue(Value<?> v): void
+getValues(): List<Value<?>>
}
ValueManager"1" *-- "0...*"Value: contains >
class Value<T> {
-name: String
-value: T
-valueType: Class<T>
--
+Value()
+set(T obj): void
+get(): T
}
Value <|-- ColorValue: <Color>
class ColorValue {
-isRainbow: boolean
--
+ColorValue(String name, Color defaultValue)
+ColorValue(String name, int r, int g, int b)
--
+getRGB(): int
}
BaseGuiComponent <|- ColorSlider
ColorSlider -- ColorValue
class ColorSlider {
-value: ColorValue
'Disegna il bottone
+onRender(): void
'Setta il valore corretto al value
+onClick(xPos: float, yPos: float): void
}
BaseGui <|-- OptionsGui
OptionsGui -- ValueManager
OptionsGui -- ColorSlider
class OptionsGui {
'Inizializza i componenti per modificare le opzioni
+OptionsGui()
}
@enduml |
0b02178ee567e2e464333eca3cbca1699a17d8d6 | 84928bc4e24e240e4369015f2f4d305348ec64b9 | /app/src/main/java/com/ustc/location/view/view.plantuml | 762fb822d71c47bd0ed5e2f98635d91e788d2e69 | [] | no_license | xupingao/BleLbs | 35065b50d0f43eedc7a5faa00e06c80f8ad3ae52 | 19f110e9ce29282a4a385532a1fc3cd2d922f37f | refs/heads/master | 2022-11-18T04:52:16.033609 | 2020-07-19T12:50:24 | 2020-07-19T12:50:24 | 278,265,696 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,536 | plantuml | @startuml
title __VIEW's Class Diagram__\n
namespace com.ustc.location {
namespace view {
class com.ustc.location.view.MyMapView {
+ drawLayer : GraphicsLayer
- dialog : ProgressDialog
- featureLayer : FeatureLayer
- graphicsLayer : GraphicsLayer
- handler : Handler
- isInitMap : boolean
- mapView : MapView
- markerSymbol : SimpleFillSymbol
- paintList : RecyclerView
- searchEt : EditText
- searchView : RelativeLayout
- view : View
+ MyMapView()
+ MyMapView()
+ handleDrawEvent()
+ initPaintTool()
+ loadLocalMap()
+ onClick()
+ onEditorAction()
+ onItemClick()
+ showAreaInfo()
+ showNativeInfo()
+ showPeolpleInfo()
+ visiblePaintTool()
+ visiblesearchTool()
- initHandler()
- initView()
- search()
- setPaintToolState()
- setSearchViewState()
- showSearchInfo()
}
}
}
namespace com.ustc.location {
namespace view {
class com.ustc.location.view.ShowSymbolInfo {
- areGraphic : Graphic[]
- context : Context
- featureLayer : FeatureLayer
- gInts : int[]
- infoLayout : GraphicsLayer
- isShow : boolean
- mapLongs : long[]
- mapView : MapView
- peoGraphic : Graphic[]
+ ShowSymbolInfo()
+ removeLayout()
+ setMapLongs()
+ showAreaInfo()
+ showNativeInfo()
+ showPeopleInfo()
- showLayout()
}
}
}
com.ustc.location.view.MyMapView .up.|> android.view.View.OnClickListener
com.ustc.location.view.MyMapView .up.|> android.widget.TextView.OnEditorActionListener
com.ustc.location.view.MyMapView .up.|> com.ustc.location.adapter.RecyclerViewHolder.RVItemClickListener
com.ustc.location.view.MyMapView .up.|> com.ustc.location.drawtool.DrawEventListener
com.ustc.location.view.MyMapView -up-|> android.widget.RelativeLayout
com.ustc.location.view.MyMapView o-- com.ustc.location.drawtool.DrawTool : drawTool
com.ustc.location.view.MyMapView o-- com.ustc.location.view.ShowSymbolInfo : showTypeInfo
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
2701c53bc67be0bbdb4fe69b69cb5dc8fae9447c | 06b4f9b29e51db9eef79b9f9828f3aa369840ec1 | /Deliverables/Oblig3/src/test/java/inf112/skeleton/app/app.plantuml | 4c861119112970d8d15d57d9beacdf90bae672d1 | [] | no_license | inf112-v19/Thebadguys | d650f57d5b23824e82498cfc55c7026d29a59762 | ec1cbbd1ab466b1482fb0a72b466f351481d4917 | refs/heads/master | 2020-04-19T11:14:13.465654 | 2019-05-03T17:29:09 | 2019-05-03T17:29:09 | 168,161,605 | 0 | 0 | null | 2019-03-08T14:24:40 | 2019-01-29T13:44:35 | Java | UTF-8 | PlantUML | false | false | 673 | plantuml | @startuml
title __APP's Class Diagram__\n
package inf112.skeleton.app {
class AppTest {
~ testCard : Cards
~ testCardSlot : CardSlots
~ deck : Deck
~ test : float
+ shouldAnswerWithTrue()
+ createCardTest()
+ createCardSlotTest()
+ createDeckTest()
+ addCardToDeckTest()
+ gridSetGetTest()
+ mapGetCellTest()
+ mapBadMoveTest()
+ mapGoodMoveTest()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
a8adb8f8337415fd147d262b4f4a0cd7fafb4379 | f7eea5cc0be09100690dd741a15eb2c97b9f3519 | /Analyse/src/main/java/Model/Model.plantuml | 4f164796578085b5ba69fffbc74d090adb33f7d5 | [] | no_license | filipeguimaraes/GR_TP2 | 39d5bcc01a209746e9ef2c9bad09b335de6b8f7f | 1d73f04fd25d3312ffd0c62c6e835638e53d6097 | refs/heads/main | 2023-06-28T23:57:31.099477 | 2021-07-25T10:18:23 | 2021-07-25T10:18:23 | 314,855,252 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,508 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace Model {
class Model.Agregador {
- estados : List<Estado>
{static} - instance : Agregador
- lastProcesses : ObservableList<Process>
- lock : ReentrantLock
+ addEstado()
+ getEstados()
+ getFirstProcessUptime()
{static} + getInstance()
+ getLastCPUTotal()
+ getLastMEMTotal()
+ getLastProcessUptime()
+ getLastProcesses()
+ getProcessGroupByName()
+ getTotalTimeProcess()
- Agregador()
}
}
namespace Model {
class Model.Estado {
- cpuTotal : Double
- processos : Map<Integer, Process>
- ramTotal : Double
- uptime : String
+ Estado()
+ addProcess()
+ containsPID()
+ getCpuTotal()
+ getProcessesByName()
+ getProcessos()
+ getRamTotal()
+ getUptime()
+ setCpuTotal()
+ setRamTotal()
+ setUptime()
}
}
namespace Model {
class Model.Log {
~ path : String
- br : BufferedReader
- running : boolean
+ Log()
+ init()
+ open()
+ read()
}
}
namespace Model {
class Model.Process {
- cpu : Double
- mem : Double
- name : String
- pid : Integer
+ Process()
+ getCpu()
+ getMem()
+ getName()
+ getPid()
}
}
namespace Model {
class Model.ProcessGroup {
- cpu : Double
- mem : Double
- name : String
- pid : Integer
- uptime : Long
+ ProcessGroup()
+ getCpu()
+ getMem()
+ getName()
+ getPid()
+ getUptime()
+ setCpu()
+ setMem()
+ setName()
+ setPid()
+ setUptime()
}
}
namespace Model {
class Model.Tradutor {
{static} + linhaProcess()
{static} + linhaToUptime()
{static} - getCPU()
{static} - getName()
{static} - getPID()
{static} - getRAM()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
620b065b522d3c4d959ba47c0398060489613cc3 | ded296da4bb9fcc7316fd6f789e3554fffac118e | /design/back-end/back-end.puml | f3aaf86ca9e17e54a927cc05db36f63468d5eb2f | [
"MIT"
] | permissive | giuliobosco/domotics | 7feacd7647318222ad89f20a5c6cd5b83bd1ad90 | b327a94e319c379148b3a0ec1d840d820bb1c4bd | refs/heads/master | 2021-06-21T16:28:59.965625 | 2019-05-29T09:29:45 | 2019-05-29T09:29:45 | 133,505,107 | 3 | 1 | MIT | 2018-10-16T14:47:08 | 2018-05-15T11:18:30 | JavaScript | UTF-8 | PlantUML | false | false | 9,003 | puml | @startuml
package javax.servlet.http {
class HttpServlet {
}
}
package jdbc {
class JdbcConnector {
+ static DEFAULT_PORT = 3306 : int
+ TIMEZONE_UTC : String
- username : String
- password : String
- hostname : String
- port : int
- database : String
- statement : Statement
+ JdbcConnector(String username, String password, String host, int port, String database)
+ JdbcConnector(String username, String password, String host, String database)
# getDbConnection(String username, String password, String host, int port, String database) : Connection
+ createStatement() : void
+ closeStatement() : void
+ openConnection() : void
+ query(query : String) : ResultSet
+ update(update : String) : void
+ closeConnection() : void
+ static main(args : String[]) : void
}
class DomoticsJdbcC {
- static USERNAME : String
- static PASSWORD : String
- static HOSTNAME : String
- static PORT : int
- static DATABASE : String
+ static getConnector() : JdbcConnector
+ static getIdManager() : IdManager
}
}
package ldap {
class LdapConnector {
+ final DEFAULT_PORT : int
+ static DEFAULT_SECURITY_AUTHENTICATION : String
+ static DEFAULT_INITIAL_CONTEXT_FACTORY : String
- domain : String
- port : int
- base : String
- security : String
- setDomain(domain : String) : void
+ getDomain() : String
- setPort(port : int) : void
+ getPort() : int
- setBase(base : String) : void
+ getBase() : String
- setSecurity(security : String)
+ getSecurity() : String
+ LdapConnector(domain : String, port : int, base : String, security : String)
+ LdapConnector(domain : String, port : int, base : String)
+ LdapConnector(domain : String, base : String, security : String)
+ LdapConnector(domain : String, base : String)
- getConnectionString() : String
- getDn(username : String) : String
- getEnvironment(username : String, password : String) : Hashtable<String, String>
+ getDirContext(username : String, password : String) : DirContext
+ static main(args : String[]) : void
}
}
package portal.authentication {
interface Authenticator {
authenticate(username : String, password : String) : boolean
}
class SqlAuthenticator {
+ authenticate(username : String, password : String) : boolean
}
Authenticator <|.. SqlAuthenticator
class LdapAuthenticator {
- static DOMAIN : String
- static PORT : int
- static BASE_OU : String
- static SECURITY : String
- subOu : String
- getBaseOu() : String
+ LdapAuthenticator(subOu : String)
+ LdapAuthenticator()
- getLdapConnector() : LdapConnector
+ authenticate(username : String, password : String) : boolean
+ static main(args : String[]) : void
}
Authenticator <|.. LdapAuthenticator
class AuthenticationChecker {
- session : HttpSession
+ AuthenticationChecker(session : HttpSession)
+ isValidSession() : boolean
+ getSessionUsername() : String
}
class LoginServlet {
# doPost(request : HttpServletRequest, response : HttpServletResponse) : void
# doGet(request : HttpServletRequest, response : HttpServletResponse) : void
}
HttpServlet <|-- LoginServlet
class LogoutServlet {
# doPost(request : HttpServletRequest, response : HttpServletResponse) : void
# doGet(request : HttpServletRequest, response : HttpServletResponse) : void
}
HttpServlet <|-- LogoutServlet
}
package models {
class Room {
- name : String
+ getName() : String
+ Room(name : String)
+ getJson() : JSONObject
+ getJsonString() : String
+ static getRooms(sqlResultSet : ResultSet) : List<Room>
+ static get(name : String) : Room
+ static get(name : String, jdbcConnector : JdbcConnector) : Room
+ static main(args : String[]) : void
}
class Arduino {
- id : String
- ip : String
- key : String
- rootPassword : String
+ getId() : String
+ getIp() : String
+ getKey() : String
+ getRoom() : Room
+ Arduino(id : String, ip : String, key : String, rootPassword : String, room : Room)
+ Arduino(idManager : IdManager, id : String, ip : String)
+ Arduino(connector : JdbcConnector, id : String)
+ Arduino(connector : JdbcConnector, ip : String, key : String)
+ set(resultSet : ResultSet) : void
+ getJson() : JSONObject
+ getJsonString() : String
+ isAlive() : boolean
+ static getArduinos(sqlResultSet : ResultSet) : List<Arduino>
+ static getArduinosByRoom(jdbcConnector : JdbcConnector, roomName : String)
+ static main(args : String[]) : void
}
Room o-- Arduino
class Light {
+ LIGHT_ON : int
+ LIGHT_OFF : int
- pin : int
- name : String
+ getPin() : int
+ getArduino() : Arduino
+ getName() : String
+ getId() : String
+ isOn() : boolean
+ Light(pin : int, arduino : Arduino, name : String)
+ Light(pin : int, arduino : Arduino, connector JdbcConnector)
+ getJson() : JSONObject
+ getJsonString() : String
- getRequestString(status : int) : String
- getRequestString() : String
+ turnOn() : void
+ turnOff() : void
+ getStatus() : int
+ toggleLight() : void
+ static getLights(rs : ResultSet) : List<Light>
+ static getJsonLights(lights : List<Light>) : JSONArray
+ static getLights(connector : JdbcConnector, room : Room) : List<Light>
+ static main(args : String[]) : void
}
Arduino o-- Light
class LightButton {
- buttonPin : int
- light : Light
+ getButtonPin() : int
+ getLight() : Light
+ getArduino() : Arduino
+ LightButton(buttonPin : int, ip : String, key : String, connector : JdbcConnector)
+ LightButton(buttonPin : int, id : String, connector : JdbcConnector)
- checkPin(int pin, connector : JdbcConnector) : void
- loadLight(connector : JdbcConnector) : void
+ static main(args : String[]) : void
}
Arduino o-- LightButton
class Thermometer {
- pin : String
- type : String
+ Thermometer(pin : String, arduinoId : String, connector : JdbcConnector)
+ getValue() : double
+ getValue(decimals : int) : double
- getRequestString() : String
+ static getTemperatureByRoom(room : Room, connector : JdbcConnector) : double
+ static main(args : String[]) : void
}
Arduino o-- Thermometer
}
package acc {
class JsonBuilder {
+ static ERROR : String
+ static OK : String
+ static getJsonResponse(status : String, message : String) : String
+ static getJsonResponseError(message : String) : String
+ static getJsonResponseOk(message : String) : String
}
class AccServlet {
- AUTOCONF : String
- REQUEST : String
- doPost(request : HttpServletRequest, response : HttpServletResponse) : void
- doGet(request : HttpServletRequest, response : HttpServletResponse) : void
}
HttpServlet <|-- AccServlet
class Autoconf {
- arduinoId : String
- arduinoKey : String
- serverAddress : String
- serverPort : String
+ getJson() : String
+ Autoconf(idManager : IdManager, arduinoId : String, arduinoIp : String, serverAddress : String, serverPort : int)
}
class ControllerServlet {
# doPost(request : HttpServletRequest, response : HttpServletResponse) : void
# doGet(request : HttpServletRequest, response : HttpServletResponse) : void
}
HttpServlet <|-- ControllerServlet
class GetRequest {
+ get(urlString : String) : String
}
class IdManager {
+ CLIENT_KEY_LENGTH : int
- connector : JdbcConnector
+ IdManager(connector JdbcConnector)
+ checkIp(id : String, ip : String) : void
+ getAccClientKey(id : String) : String
+ getRoomById(id : String) : Room
+ static createKey() : String
+ static main(args : String[]) : void
}
}
package data {
class RoomsServlet {
# doPost(request : HttpServletRequest, response : HttpServletResponse) : void
# doGet(request : HttpServletRequest, response : HttpServletResponse) : void
- getJsonRoom(room : Room, connector : JdbcConnector) : JSONObject
}
HttpServlet <|-- RoomsServlet
}
@enduml
|
eff44291ce282d3e3844e3bb4e44ce298477ec05 | 7bf5bd7c1e8ab456884f744507ec776d844fc78c | /Domain.puml | f95286732575c7756c3937d9c4ec3246dc5fdd7b | [] | no_license | MathiasJensen96/School | 37d355939fa51ca1c6dabeba5b5d974112f69b66 | cf7785bb5dad743dfbd46eb5cef3a2024d779bd4 | refs/heads/main | 2023-01-21T15:17:46.220464 | 2020-12-03T14:52:37 | 2020-12-03T14:52:37 | 308,035,139 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 301 | puml | @startuml
class PizzaBar {
Show Turnover
}
class Order {
Save orders for statistics
}
class PickupTime {
}
class OrderOptions {
Phone
In the store
}
class ListOfOrders {
add or remove orders
NextPizza()
}
class Menu {
ShowMenu()
}
class Pizza {
}
class Payment {
}
PizzaBar - Order
@enduml |
ea001342eb51febeaa60098ac4578d66d79bd717 | 625e3447fea7ecfac5cd9601974a5439b552200c | /Homework/ChocolateBoiler/Team2/class_diagram/refactor_design.puml | 2b626b4fe61e046b1ea106520942752453d288c0 | [] | no_license | ss900405twtw/SED2019 | f9edec553c22fafb22199dedeb9c25046f2b80f9 | 17e5ceb84f4f8ca84b26013e5ab95516b82e1be4 | refs/heads/master | 2022-07-19T00:13:36.456120 | 2020-05-10T02:56:01 | 2020-05-10T02:56:01 | 262,698,934 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 741 | puml | @startuml
class client {
}
class Boiler {
{field} - <u>boiler</u>: Boiler
{field} - isEmpty: Bool
{field} - isBoiled: Bool
{method} + fill(): void
{method} + boil(): void
{method} + drain(): void
{method} + <u>getBoiler()</u>: void
}
note as N1
fill() {
if (isEmpty && !isBoiled) {
do fill
isEmpty = false
}
}
boil() {
if (!isBoiled && !isEmpty) {
do boil
isBoiled = true
}
}
drain() {
if (isBuild && !isEmpty) {
do drain
isBoiled = false
isEmpty = true
}
}
<u>getBoiler</u> () {
if (boiler == NULL) {
boiler = new Boiler()
}
return boiler
}
endnote
client ..> Boiler : <<use>>
N1 .right. Boiler
@enduml |
2a309511af909db3e7159e7e7a9f07e81b972eb2 | c815f9c82c1400f76243750cd0ec609d217b9943 | /event-driven-architecture/etc/event-driven-architecture.urm.puml | 8314913a6114b2f1aa99e8a39bb94b7a7fea3b7e | [
"MIT"
] | permissive | mikulucky/java-design-patterns | 6ab10e9e5c95b6caffebf045d37d04a1571bc0cd | cbbf3bf08842723964719ed7d8ab92864ec5a58d | refs/heads/master | 2021-01-17T23:34:49.962450 | 2016-09-28T19:54:28 | 2016-09-28T19:54:28 | 48,302,802 | 1 | 1 | null | 2016-01-02T23:58:44 | 2015-12-20T01:00:47 | Java | UTF-8 | PlantUML | false | false | 1,563 | puml | @startuml
package com.iluwatar.eda.handler {
class UserCreatedEventHandler {
+ UserCreatedEventHandler()
+ onEvent(event : UserCreatedEvent)
}
class UserUpdatedEventHandler {
+ UserUpdatedEventHandler()
+ onEvent(event : UserUpdatedEvent)
}
}
package com.iluwatar.eda.event {
abstract class AbstractEvent {
+ AbstractEvent()
+ getType() : Class<? extends Event>
}
class UserCreatedEvent {
- user : User
+ UserCreatedEvent(user : User)
+ getUser() : User
}
class UserUpdatedEvent {
- user : User
+ UserUpdatedEvent(user : User)
+ getUser() : User
}
}
package com.iluwatar.eda.framework {
interface Handler<E extends Event> {
+ onEvent(E extends Event) {abstract}
}
class EventDispatcher {
- handlers : Map<Class<? extends Event>, Handler<? extends Event>>
+ EventDispatcher()
+ dispatch(event : E extends Event)
+ registerHandler(eventType : Class<E extends Event>, handler : Handler<E extends Event>)
}
interface Event {
+ getType() : Class<? extends Event> {abstract}
}
}
package com.iluwatar.eda.model {
class User {
- username : String
+ User(username : String)
+ getUsername() : String
}
}
package com.iluwatar.eda {
class App {
+ App()
+ main(args : String[]) {static}
}
}
UserUpdatedEvent --> "-user" User
UserCreatedEvent --> "-user" User
AbstractEvent ..|> Event
UserCreatedEvent --|> AbstractEvent
UserCreatedEventHandler ..|> Handler
UserUpdatedEvent --|> AbstractEvent
UserUpdatedEventHandler ..|> Handler
@enduml |
8b509c13362bfe00c61e309196b5c91d9d45e1ab | 068c009740890f0b2d80394e3948725a26c1304c | /Ejercicio 3/ejercicio3.puml | b4a674c2fef69440dcb11e6cb1a03fd5139777a2 | [] | no_license | PacoGarcia79/actividades1-UT4 | 8d9796c76db8320d336b7b834c12435e4c16d0cc | a1cbd57523daa795dac251d3f3b74f2498230085 | refs/heads/master | 2023-03-14T01:39:46.550457 | 2021-03-04T16:12:17 | 2021-03-04T16:12:17 | 342,895,668 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,236 | puml | @startuml
scale 2
class Tienda {
-cif: string
-ubicacion: string
-nombre: string
+ Cif()
+ Nombre()
+ Ubicacion()
+ AltaCliente()
+ AltaEquipo()
}
class Equipo {
+ RegistraNumeroEquipo()
}
class Esqui {
-numeroSerie: integer
+ NumeroSerie()
}
class Marca {
-direccionProveedor: string
-direccionServicioTecnico: string
+ DireccionProveedor()
+ DireccionServicioTecnico()
}
class Gafa {
-marca: string
-modelo: string
-numeroSerie: integer
+ Marca()
+ Modelo()
+ NumeroSerie()
}
class Baston {
-marca: string
-modelo: string
-numeroSerie: integer
+ Marca()
+ Modelo()
+ NumeroSerie()
}
class Cliente {
-dni: string
-nombre: string
-telefono: integer
+ Dni()
+ Nombre()
+ Telefono()
+ AlquilaEquipo()
}
class Alquiler {
-fechaAlquiler: DateTime
-fechaDevolucion: DateTime
+ FechaAlquiler()
+ FechaDevolucion()
+ RegistraAlquiler()
}
Tienda "1" --- "*" Cliente
Tienda "1" --- "*" Equipo
Equipo "1" *-- "*" Esqui
Equipo "1" *-- "*" Gafa
Equipo "1" *-- "*" Baston
Equipo "1" *-- "*" Alquiler
Cliente "1" --- "0..1" Equipo
Esqui "*" --- "*" Marca
@enduml
|
125d36940271ec6270bac0f9c6c4bb65074916c3 | 5229c30142a44eba1f7afb8c57f12bf187bc2d03 | /src/main/kotlin/com/mgy/factorymethod/factorymethod.puml | e8e620aca4730f9e26fa5d5d3b18f316f4e96c80 | [] | no_license | Drunkman/kotlin-design-pattern | 16b98c7fff938c06c4623568673a1c8cc28e606b | 91196fcee1b4fc09350666ef537135f8f0e45b3c | refs/heads/master | 2020-03-19T21:13:16.754197 | 2018-08-12T14:21:07 | 2018-08-12T14:21:07 | 136,933,013 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 297 | puml | @startuml
interface Blacksmith {
+manufactureWeapon()
}
OrcBlacksmith --|> Blacksmith
ElfBlacksmith --|> Blacksmith
interface Weapon {
+getWeaponType()
}
OrcWeapon --|> Weapon
ElfWeapon --|> Weapon
Blacksmith ..> Weapon
OrcBlacksmith ..> OrcWeapon
ElfBlacksmith ..> ElfWeapon
@enduml |
8183218f9e21c9456d47242a01a57a01ff863b55 | b615d963ae1cfa22289775c561dd073b55a71ebd | /docs/uml-class-diagrams/admin/test/SatelliteTests/SatelliteTests.puml | a30aafe5fa5fdc1599e4ec57ac26ef3b7ce8081d | [] | no_license | elilley15/csi-3370-software-project | 8062dddf435ab0c7941acdf03225f84c18457947 | d2642cf649dabeafd6d9753c483b9df265d85118 | refs/heads/main | 2023-01-18T15:48:03.237629 | 2020-11-28T21:24:10 | 2020-11-28T21:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 597 | puml | @startuml SatelliteTests
package edu.oakland.test.admin {
class SatelliteTests {
+ void satNameInIsSatNameOut()
+ void strengthInIsStrengthOutConstructor()
+ void strengthInIsStrengthOutSetter()
+ void getLocation0IsCorrect()
+ void getLocation1IsCorrect()
+ void getLocationNIsCorrect()
+ void getLocationAcrossMultipleObjectsInSync()
+ void strengthNotLessThanOneConstructor()
+ void strengthNotMoreThanTenConstructor()
+ void strengthNotLessThanOneSetter()
+ void strengthNotMoreThanTenSetter()
}
}
@enduml
|
b4d1aadaf0cc30b224cc0434a75395091c7fd218 | 8e865e67551a6e7d6010dbecb9de5a3e92fd3883 | /Adapter/UML/class.puml | ae9293b945aa92cd3da799b0cd0cc902b726f905 | [] | no_license | marcin-wrotecki/Design-patterns | bd3fe28cc8edd2e9645b1b8a0539b9fa004f1b21 | dcb3d00f9d105b62d6322eec4d36e7e77af78f59 | refs/heads/master | 2021-02-07T17:50:04.684670 | 2020-04-03T21:28:18 | 2020-04-03T21:28:18 | 244,058,852 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 671 | puml | @startuml
package main{
class main.Adapter{
-private SmartPhone smartPhone
}
class main.FlipPhone{
}
class main.Smartphone
interface main.IFlipPhone{
+ void makeCall(String number)
+ String getContants()
+ void takePhoto()
+ String getSpecification()
}
interface main.ISmartPhone{
+ void setPhoto(String img);
+ void makeCall(String number);
+ void takePhotoButBetter(String choosenFilter);
+ String getSpecification();
+ String getContants();
}
main.ISmartPhone<|--main.Adapter
main.IFlipPhone<|--main.Adapter
main.ISmartPhone<|--main.Smartphone
main.IFlipPhone<|--main.FlipPhone
}
@enduml
|
d4a1f7285366fe40104f3650425a75ebe2fdcf67 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/TaxCategoryUpdateAction.puml | 272fa57509682735b652a89d7e31f1514a59e894 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 1,970 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface TaxCategoryUpdateAction [[TaxCategoryUpdateAction.svg]] {
action: String
}
interface TaxCategoryAddTaxRateAction [[TaxCategoryAddTaxRateAction.svg]] {
action: String
taxRate: [[TaxRateDraft.svg TaxRateDraft]]
}
interface TaxCategoryChangeNameAction [[TaxCategoryChangeNameAction.svg]] {
action: String
name: String
}
interface TaxCategoryRemoveTaxRateAction [[TaxCategoryRemoveTaxRateAction.svg]] {
action: String
taxRateId: String
taxRateKey: String
}
interface TaxCategoryReplaceTaxRateAction [[TaxCategoryReplaceTaxRateAction.svg]] {
action: String
taxRateId: String
taxRateKey: String
taxRate: [[TaxRateDraft.svg TaxRateDraft]]
}
interface TaxCategorySetDescriptionAction [[TaxCategorySetDescriptionAction.svg]] {
action: String
description: String
}
interface TaxCategorySetKeyAction [[TaxCategorySetKeyAction.svg]] {
action: String
key: String
}
interface TaxCategoryUpdate [[TaxCategoryUpdate.svg]] {
version: Long
actions: [[TaxCategoryUpdateAction.svg List<TaxCategoryUpdateAction>]]
}
TaxCategoryUpdateAction --> TaxCategoryAddTaxRateAction #blue;text:blue : "action : addTaxRate"
TaxCategoryUpdateAction --> TaxCategoryChangeNameAction #blue;text:blue : "action : changeName"
TaxCategoryUpdateAction --> TaxCategoryRemoveTaxRateAction #blue;text:blue : "action : removeTaxRate"
TaxCategoryUpdateAction --> TaxCategoryReplaceTaxRateAction #blue;text:blue : "action : replaceTaxRate"
TaxCategoryUpdateAction --> TaxCategorySetDescriptionAction #blue;text:blue : "action : setDescription"
TaxCategoryUpdateAction --> TaxCategorySetKeyAction #blue;text:blue : "action : setKey"
TaxCategoryUpdateAction --> TaxCategoryUpdate #green;text:green : "actions"
@enduml
|
807343807a15d22d7bc3ce155af36d5e834022d5 | e15413bf56f8405e3f54556efac8d9dcf70863cb | /Wasteless-app/wasteless-server/src/main/java/wasteless/server/diagrams/factory.plantuml | 2ba52a4bff9716f7262196255fa1fe9cd2568eb1 | [] | no_license | sd-2020-30431/assignment-2-cezarasabou | 901d0b605ac3cd374eff28f958ab845f9d5f829c | f3bfda99dad3f12326b9ff1cc41d2fbfb12b9d38 | refs/heads/master | 2023-01-14T01:25:19.393086 | 2020-04-18T15:47:19 | 2020-04-18T15:47:19 | 249,999,198 | 0 | 0 | null | 2023-01-07T17:08:31 | 2020-03-25T14:21:57 | Java | UTF-8 | PlantUML | false | false | 1,000 | plantuml | @startuml
title __FACTORY's Class Diagram__\n
namespace wasteless.server {
namespace export.factory {
interface wasteless.server.export.factory.AbstractFactory {
{abstract} + create()
}
}
}
namespace wasteless.server {
namespace export.factory {
class wasteless.server.export.factory.FactoryProvider {
+ getFactory()
}
}
}
namespace wasteless.server {
namespace export.factory {
enum FactoryType {
REPORT_FACTORY
}
}
}
namespace wasteless.server {
namespace export.factory {
class wasteless.server.export.factory.ReportFactory {
+ create()
}
}
}
wasteless.server.export.factory.ReportFactory .up.|> wasteless.server.export.factory.AbstractFactory
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
b9aab00cda41fd97416b2350fec688dba224d945 | d1ac1ceadcd7268b24c5c5d0123291aec4630246 | /UML.puml | d3dc3d2e1460902f97ef6b957ff155df2804f599 | [] | no_license | juliia5m/C--project-Geifman-Marchuk | 09189a002d9395aeaf1e32bfb7533c221bb3541d | 090d6e541fd96d7d6b713ba0591f494fb658b95d | refs/heads/master | 2020-05-28T10:17:26.336603 | 2019-05-30T04:39:23 | 2019-05-30T04:39:23 | 188,967,704 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,053 | puml | @startuml
/' Objects '/
class Customer {
+Customer(string name, int age, double money)
+k : int
+money : int
}
class Human {
+Human(string name, double age)
#age : int
#name : string
+show() : void
}
class Product {
+Product(string name, double price)
+get_price() : double
-price : double
+get_name() : string
-name : string
+changePrice(double q) : void
+show() : void
}
class Seller {
+Seller(string name, int age, double salary)
-salary : double
+quantity : int
+changeSalary(double q) : void
+show() : void
}
class Shop {
+Shop(string name)
-profit : double
-name : string
-costumers : vector<Customer>
-products : vector<Product>
-sellers : vector<Seller>
+get_customer(Customer a) : void
+get_product(Product a) : void
+get_seller(Seller a) : void
+sell_product(Product a, Customer b, Seller c) : void
+show() : void
}
/' Inheritance relationships '/
Human <|-- Customer
Human <|-- Seller
/' Aggregation relationships '/
Shop o-- Customer
Shop o-- Product
Shop o-- Seller
@enduml
|
9a8f05f566a28548b475e4d79082e69450b26436 | 912d65be9bbd436a671d948abe8dadf356eb5216 | /src/main/java/com/jdk1_8/test3/test3.plantuml | f9d278e6f029053462fcc25965bc381f588ed408 | [] | no_license | ljhpole/netty-lecture | 02318e9992f488f03425c93b981e8718582b1b4b | a20bef9e6db5d1061a6f37ec0593087588ea1a0a | refs/heads/main | 2023-02-24T21:52:42.964037 | 2021-01-31T15:35:18 | 2021-01-31T15:35:18 | 334,686,240 | 0 | 1 | null | 2021-01-31T15:35:19 | 2021-01-31T15:19:40 | null | UTF-8 | PlantUML | false | false | 708 | plantuml | @startuml
title __TEST3's Class Diagram__\n
namespace com.jdk1_8.test3 {
class com.jdk1_8.test3.ConditionTest {
~ elementCount : int
~ elements : String[]
~ lock : Lock
~ notEmpty : Condition
~ notFull : Condition
~ putIndex : int
~ takeIndex : int
+ init()
+ putElement()
+ takeElement()
}
}
namespace com.jdk1_8.test3 {
class com.jdk1_8.test3.ConditionTestMain {
{static} + main()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
2a12f7d595a8a6f32ed260ab752a267ca6d23826 | df9feca01c652070ea04889cdd6ba19207eedd8b | /app/app.plantuml | 602bdfc44de5f10b5d7ce142b060915a76ff1389 | [] | no_license | r-ferrier/artistExMachina | 596785a640703487f677ae799ffa9fdfa6019d71 | f6685fa933a35ab63c82fc570f979620caff3f70 | refs/heads/master | 2020-06-11T20:18:20.505472 | 2019-09-04T18:22:34 | 2019-09-04T18:22:34 | 194,072,738 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 10,249 | plantuml | @startuml
title __APP's Class Diagram__\n
namespace com.example.workinprogress {
class com.example.workinprogress.About {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.BuildConfig {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.DataDisplay {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.DisplayImage {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.Gallery {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.GalleryRecyclerViewAdapter {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.GenericFileProvider {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.MainActivity {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.MainClassAnimation {
}
}
namespace com.example.workinprogress {
class com.example.workinprogress.ShortPortrait {
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
abstract class com.example.workinprogress.dataSetsAndComponents.DataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
interface com.example.workinprogress.dataSetsAndComponents.DataSetPoint {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.LightData {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.LocationData {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.LocationTwoPointsDataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.PositionData {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.PositionSensorThreePointsDataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.SensorSingularPointDataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
abstract class com.example.workinprogress.dataSetsAndComponents.SingularPointDataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
abstract class com.example.workinprogress.dataSetsAndComponents.ThreePointsDataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
abstract class com.example.workinprogress.dataSetsAndComponents.TwoPointsDataSet {
}
}
}
namespace com.example.workinprogress {
namespace dataSetsAndComponents {
class com.example.workinprogress.dataSetsAndComponents.UnscaledSingleEntryDataSet {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
class com.example.workinprogress.paintings.AbstractShapes {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
class com.example.workinprogress.paintings.AlbersImage {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
class com.example.workinprogress.paintings.AutomaticDrawing {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
class com.example.workinprogress.paintings.KineticArt {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
class com.example.workinprogress.paintings.Landscape {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
abstract class com.example.workinprogress.paintings.Painting {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
class com.example.workinprogress.paintings.PositionAndLightPainting {
}
}
}
namespace com.example.workinprogress {
namespace paintings {
namespace shapes {
class com.example.workinprogress.paintings.shapes.BumpyShape {
}
}
}
}
namespace com.example.workinprogress {
namespace paintings {
namespace shapes {
class com.example.workinprogress.paintings.shapes.CircleShape {
}
}
}
}
namespace com.example.workinprogress {
namespace paintings {
namespace shapes {
class com.example.workinprogress.paintings.shapes.CurvedShape {
}
}
}
}
namespace com.example.workinprogress {
namespace paintings {
namespace shapes {
class com.example.workinprogress.paintings.shapes.LineShape {
}
}
}
}
namespace com.example.workinprogress {
namespace paintings {
namespace shapes {
abstract class com.example.workinprogress.paintings.shapes.Shape {
}
}
}
}
namespace com.example.workinprogress {
namespace paintings {
namespace shapes {
class com.example.workinprogress.paintings.shapes.SquiggleShape {
}
}
}
}
com.example.workinprogress.About -up-|> androidx.appcompat.app.AppCompatActivity
com.example.workinprogress.DataDisplay -up-|> androidx.appcompat.app.AppCompatActivity
com.example.workinprogress.DisplayImage .up.|> androidx.viewpager.widget.ViewPager.OnPageChangeListener
com.example.workinprogress.DisplayImage -up-|> androidx.appcompat.app.AppCompatActivity
com.example.workinprogress.DisplayImage o-- com.example.workinprogress.paintings.Painting : createdImage
com.example.workinprogress.Gallery -up-|> androidx.appcompat.app.AppCompatActivity
com.example.workinprogress.Gallery o-- com.example.workinprogress.GalleryRecyclerViewAdapter : galleryRecyclerViewAdapter
com.example.workinprogress.GalleryRecyclerViewAdapter -up-|> androidx.recyclerview.widget.RecyclerView.Adapter
com.example.workinprogress.GenericFileProvider -up-|> androidx.core.content.FileProvider
com.example.workinprogress.MainActivity .up.|> com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks
com.example.workinprogress.MainActivity .up.|> com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener
com.example.workinprogress.MainActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.workinprogress.ShortPortrait .up.|> android.hardware.SensorEventListener
com.example.workinprogress.ShortPortrait .up.|> android.location.LocationListener
com.example.workinprogress.ShortPortrait -up-|> androidx.appcompat.app.AppCompatActivity
com.example.workinprogress.dataSetsAndComponents.DataSet .up.|> java.io.Serializable
com.example.workinprogress.dataSetsAndComponents.LightData .up.|> com.example.workinprogress.dataSetsAndComponents.DataSetPoint
com.example.workinprogress.dataSetsAndComponents.LocationData .up.|> com.example.workinprogress.dataSetsAndComponents.DataSetPoint
com.example.workinprogress.dataSetsAndComponents.LocationTwoPointsDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.TwoPointsDataSet
com.example.workinprogress.dataSetsAndComponents.PositionData .up.|> com.example.workinprogress.dataSetsAndComponents.DataSetPoint
com.example.workinprogress.dataSetsAndComponents.PositionSensorThreePointsDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.ThreePointsDataSet
com.example.workinprogress.dataSetsAndComponents.SensorSingularPointDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.SingularPointDataSet
com.example.workinprogress.dataSetsAndComponents.SingularPointDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.DataSet
com.example.workinprogress.dataSetsAndComponents.ThreePointsDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.DataSet
com.example.workinprogress.dataSetsAndComponents.TwoPointsDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.DataSet
com.example.workinprogress.dataSetsAndComponents.UnscaledSingleEntryDataSet -up-|> com.example.workinprogress.dataSetsAndComponents.SingularPointDataSet
com.example.workinprogress.paintings.AbstractShapes -up-|> com.example.workinprogress.paintings.Painting
com.example.workinprogress.paintings.AlbersImage -up-|> com.example.workinprogress.paintings.Painting
com.example.workinprogress.paintings.AutomaticDrawing -up-|> com.example.workinprogress.paintings.Painting
com.example.workinprogress.paintings.KineticArt -up-|> com.example.workinprogress.paintings.AbstractShapes
com.example.workinprogress.paintings.Landscape -up-|> com.example.workinprogress.paintings.PositionAndLightPainting
com.example.workinprogress.paintings.Painting -up-|> android.graphics.drawable.Drawable
com.example.workinprogress.paintings.PositionAndLightPainting -up-|> com.example.workinprogress.paintings.Painting
com.example.workinprogress.paintings.shapes.BumpyShape -up-|> com.example.workinprogress.paintings.shapes.LineShape
com.example.workinprogress.paintings.shapes.CircleShape -up-|> com.example.workinprogress.paintings.shapes.LineShape
com.example.workinprogress.paintings.shapes.CurvedShape -up-|> com.example.workinprogress.paintings.shapes.Shape
com.example.workinprogress.paintings.shapes.LineShape -up-|> com.example.workinprogress.paintings.shapes.Shape
com.example.workinprogress.paintings.shapes.Shape -up-|> android.graphics.drawable.Drawable
com.example.workinprogress.paintings.shapes.SquiggleShape -up-|> com.example.workinprogress.paintings.shapes.LineShape
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
7d6556b81de9280fbba326104209dc06240064bf | 0c50b78afaf6adb723d576a8ff475bfbab3047fc | /ToDo/ToDo/klassenDiagramm.puml | a9f1255165c3d3e05f6f77576c0c8d1a9cbe11d4 | [] | no_license | Lionel1291/ToDo | c3c1a60bbcf9d2c942b8118249013acca6b0977b | c6dbb100e42d4987e1a2b29932ac9d8036ae441a | refs/heads/master | 2023-05-26T17:12:00.730505 | 2020-06-12T09:41:32 | 2020-06-12T09:41:32 | 271,761,602 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,458 | puml | @startuml klassenDiagramm
class App{
- {static} scene : Scene
+ start(Stage stage) : void
{static} setRoot(String fxml) : void
- {static} loadFXML(String fxml) : Parent
+ {static} main(String[] args) : void
}
class DeleteController{
- button_No : Button
- button_Yes : Button
- deleteNr : String
- sqlDelete : String
# deleteData(MouseEvent event) : void
# backToMain(MouseEvent event) : void
}
class SQLiteDBToDo{
+ {static} sQLiteDBToDoConnection() : Connection null
}
class ToDo{
- number : int
- toDoName : String
- withWho : String
- where : String
- date : Date
- time : String
+ ToDo(int newNumber, String newToDoName, String newWithWho, String newWhere, Date newDate, String newTime) : void
+ setNumber(int newNumber) : void
+ getNumber() : int
+ setToDoName(String newToDoName) : void
+ getToDoName() : String
+ setWithWho(String newWithWho) : void
+ getWithWho() : String
+ setWhere(String newWhere) : void
+ getWhere() : String
+ setDate(Date newDate) : void
+ getDate() : Date
+ setTime(String newTime) : void
+ getTime() : String
}
class ViewController{
- tf_Name_Add : TextField
- tf_WithWho_Add : TextField
- tf_Where_Add : TextField
- tf_Hours_Add : TextField
- tf_Minutes_Add : TextField
- tf_DeleteToDoNr : TextField
- t_State : Text
- dp_Add : DatePicker
- button_Add : Button
- butto_Delete : Button
- tv_Show : TableView<ToDo>
- tc_Show_ToDoNumber : TableColumn<ToDo, Integer>
- tc_Show_ToDoName : TableColumn<ToDo, String>
- vtc_Show_WithWho : TableColumn<ToDo, String>
- tc_Show_Where : TableColumn<ToDo, String>
- tc_Show_Date : TableColumn<ToDo, Date>
- tc_Show_Time : TableColumn<ToDo, String>
- ol : ObservableList<ToDo>
- sqlSelect : String
- sqlInsert : String
- sqlDelete : String
+ {static} deleteNr : String
# addData(MouseEvent event) : void
# deleteData(MouseEvent event) : void
- loadAll() : void
- insertAll(String toDoName, String withWho, String where, java.sql.Date sqlDate, String time) : void
- actuallDateInsert(LocalDate localDate, Boolean idBoolean) : Boolean
- timeCheck(String hours, String minutes) : String
- actuallDateSelect(Boolean sdBoolean, LocalDate localSQLDate) : Boolean
}
@enduml |
eda31ee8513ce5c833ebcfa4747689565105a131 | b2377dbb97354ebb11f18337fae7a5deb10e9fd1 | /docs/Solution/Hardware-Stack/Data-Lake/Logical.puml | 558758ca8aad17d30d12ff61a3cb5e2e7814d603 | [] | no_license | CAADE/H2C | 634e94afdd5302232d234aa7abefcfc61a24ea8e | 91227f94a60c8e3285c24333da340c06a51afa9d | refs/heads/master | 2021-03-27T18:25:35.652782 | 2018-06-01T21:58:49 | 2018-06-01T21:58:49 | 83,159,772 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 232 | puml | @startuml
package "Hardware-Stack/Data-Lake" {
interface "Hardware-Stack/Data-Lake" {
}
CLI ()-- "Hardware-Stack/Data-Lake"
REST ()-- "Hardware-Stack/Data-Lake"
Web ()-- "Hardware-Stack/Data-Lake"
}
@enduml
|
9cf97d40036a882494450b2b6f6d455cb91b231b | 6180d2f459e52ba2494532385294cb16554ff305 | /diagrams/class/nan_air_classes.puml | 15bd4f89fd0a9d13dd9efcd8846ec71648837577 | [] | no_license | MyraMidnight/VLN1_h16 | 2214cbc9106ac2f8504e81303df1338c49f89b2e | 5834fc1f8fae1f9db5baa333b9322c7fa6001ab9 | refs/heads/master | 2020-09-17T00:16:55.151798 | 2019-12-15T12:09:05 | 2019-12-15T12:09:05 | 223,929,419 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 11,389 | puml | @startuml
left to right direction
' class diagram for the final handin
package ui_layer <<Rectangle>> {
class PrintHandler #LightPink {
- DisplayScreen
-----
- __dataTypes: dictionary
---methods---
- __getTerminalSize()
- __listAllTemplates()
- detectDataType()
- __sectionHeader()
- __sectionList()
- __sectionText()
- __sectionShortCuts()
- __sectionOptions()
+ sectionHandler()
+ cutString()
}
note right of PrintHandler
This is basically the other half of DisplayScreen,
it was split into two classes to keep the code organized.
It takes a list of dictionaries, each being a section
( list, options, text, header ), and processes the given data
into single strings per line that would print on the screen.
When processing a list of data ('list' or 'options'), then it
detects the keys and checks if it matches existing templates,
which contain custom column widths and titles to properly adjust
the table according to the data type.
If it doesn't find a match, then it just creates a custom template
with preset colWidths and keys as titles. This allows the handler
to be flexible and process any list of dictionaries into tables
end note
class DateUtil #LightPink{
-GetLogic
-UpdateLogic
-VoyageHandler
-InputHandler
----
+ date: str
+ time: str
+ day: str
+ month: str
+ year: str
+ hour: str
+ minute: str
+ second: str
--methods--
- parse(datetime:str)
- date_parse(datetime:str)
- day_parse(datetime:str)
- month_parse(datetime:str, name:str = "")
- year_parse(datetime:str)
- time_parse(datetime:str)
- hour_parse(datetime:str)
- minute_parse(datetime:str)
- second_parse(datetime:str)
+ updateTime(date:str, time:str)
+ createObject
}
note right of DateUtil
This is just a tool that takes a datetime
string (isoformat) and parces it into parts
that can be accessed through the the attributes,
also can convert the given datetime string
into a datetime object
end note
class DisplayScreen #LightPink{
- PrintHandler
-----
- __terminalSize: dict
- __compiledSections: list
- minScreenWidth: int
--methods--
- __getTerminalSize()
- __printScreen(frame:bool = False)
--public--
+ printList(data:list, header:str = "Table of data",numList:bool = False, frame:bool = True)
+ printOptions(data:list, header:str = "List of choices", frame:bool = True)
+ printText(data:list, header:str = "Information", frame:bool = True)
+ printCustom(sectionData:list, frame:bool = True)
}
note right of DisplayScreen
Takes a list of data (containing either
dictionaries or strings depending
on section type) and optional header string.
printList() creates a table with columns and rows
printOptions() is basically enumerated printList
printText() creates paragraphs of each string
printCustom() takes in a list of sections,
each section being a dictionary with sectionType string and list,
(it is the same format that each of the print methods would pass unseen
to the PrintHandler to process the data as a list of strings, each
being a single line printed on the screen.)
When all the data has been processed into a list of strings,
then it prints the list, or adds a frame around the content before
printing it, detecting the widest string and sets the box width accordingly
end note
class InputHandler #LightPink{
- CreateLogic
- GetLogic
- UpdateLogic
- VoyageHandler
- MenuHandler
----
+ numChoices(numOfChoices: int, inputQuestion : str = "Pick a number: " ):
+ confirmation(inputQuestion:str = "Press enter to continue", acceptedInput:list = ["yes"])
+ license(self,role: str, aircraftType_list: list, inputQustion: str = "")
+ yesOrNoConfirmation(inputQuestion: str = "")
+ strNoCheck(inputQuestion: str = "")
+ multipleNumChoices(data_list:list, inputQuestion : str = "")
..specific format..
+ digit(inputQuestion:str = "")
+ textSetLength(numLength:int, inputQuestion:str = ""
+ numSetLength(self,numLength:int, inputQuestion: str = "")
..date and time..
+ dateTime(questionDate:str = "")
+ timeOnly(inputQuestion:str = "")
+ dateOnly(inputQuestion:str = "")
..form input ..
+ fullName(inputQuestion : str = "Enter the full name of the person: ")
+ ssn(inputQuestion:str = "")
+ address(inputQuestion: str = "")
+ phoneNumber(inputQuestion: str = "")
+ email(inputQuestion: str = "")
+ role(inputQuestion: str = "")
+ roleUpdate(airplaneType_list)
+ rank(role: str, inputQuestion: str = "")
+ planetype(inputQuestion:str = "")
+ country(inputQuestion : str = "")
+ airport(airport_list: list, inputQuestion: str = "")
+ distance(inputQuestion : str = "")
+ destinationID(airport_list: list, inputQuestion: str = "")
+ planeInsignia(inputQuestion: str = "")
}
note right of InputHandler
InputHandler promts the user for any input,
processes it to check if it fits expected format
and then returns the value back to caller or
returns False if user pressed the 'exitKey' (q).
end note
class MenuHandler #LightPink{
-LLAPI
----
- minScreenWidth: int
- currentLocation_str: str
- breadcrumbs: list
- currentMenu_list: dict
- menuOptions: dict
- menuLayout: dict
--methods--
- printHeader()
- printMenu(menuOptions:dict,currentMenu:str)
- displayLogo()
+ displayMenu()
}
note right of MenuHandler
MenuHandler is the body of the program,
it directs the user to everything they might
want to do. Either it prints a submenu or runs
the associated method through the LLAPI
and once those methods are done running, it returns
the user back to the menu.
end note
' DisplayScreen --* PrintHandler
}
package logic_layer <<Rectangle>> {
class LLAPI #LightGreen{
- CreateLogic
- GetLogic
- UpdateLogic
----
createLogic: class(DATA_FILES)
getLogic: class(DATA_FILES)
updateLogic: class(DATA_FILES)
--- create---
+ createEmployee()
+ createPlane()
+ createVoyage()
+ createDestination()
---get---
+ getSingleEmployee()
+ getPilots()
+ getFlightAttendants()
+ getAllCrew()
+ getPlanes()
+ getDestinations()
+ getVoyages()
+ getAway()
+ getWorking()
+ getWeekWork()
+ getPilotsByLicence()
+ printPilotsByLicence()
+ licenceByCount()
+ getWeekVoyages()
+ getDayVoyages()
---update---
+ updateVoyage()
+ updateEmployee()
+ updateDestination()
}
class CreateLogic #LightGreen{
- IOAPI
- DisplayScreen
- InputHandler
- VoyageHandler
----
- dataFiles: list
---methods--
+ createDestination()
+ createEmployee()
+ createPlane()
}
class GetLogic #LightGreen{
-IOAPI
-InputHandler
-DisplayScreen
-DateUtil
----
- dataFiles: list
--- methods--
- printData(data:list, header:str)
+ getSingleEmployee()
+ getPilots()
+ getFlightAttendants()
+ getAllCrew()
+ getPlanes()
+ getDestinations()
+ getVoyages()
+ getAway()
+ getWorking()
+ getWeekWork()
+ getPilotsByLicence()
+ printPilotsByLicence()
+ licenceByCount()
+ getWeekVoyages()
+ getDayVoyages()
}
note right of GetLogic
This class contains all the methods designed to
get and display specific data in certain ways or
at given input.
end note
class UpdateLogic #LightGreen{
-IOAPI
-Voyage
-DateUtil
-DisplayScreen
-InputHandler
--- attributes--
-dataFiles: dict
-getLogic: class
---methods--
+updateEmployee()
+updateDestination()
+updateVoyage()
}
class VoyageHandler #LightGreen{
-CreateLogic
-IOAPI
-DisplayScreen
-InputHandler
--atributes--
- dataFiles: list
- _flightOut [ "flightNumber", {flight info}]
- _flightIn: [ "flightNumber", {flight info}]
- _destination: dictionary
- _departingFrom:string
- _departure:string = datetime.isoformat
- _return :string = datetime.isoformat
- _aircraftID :string
- _captain :string = ""
- _copilot:string = ""
- _fsm :string = ""
- _fa1 :string = ""
- _fa2 :string = ""
--methods--
# setVoyage(data:list)
- createVoyage()
- processFlight(flight:dict)
- createFlightNumber(latestFlightNumber: str)
- selectAircraft()
- selectDepartureTime(questionDate:str, questionTime:str, errorMessage:str)
- calculateArrival(departure:str, flightTime:str)
+ getFlights()
- createFlights()
}
note right of VoyageHandler
This class originally served as a model class,
the createVoyage() method lives in this class and would
have been extracted and moved to CreateLogic if given time.
The createVoyage() creates a pair of flights after
it has collected the required information from the user,
which includes the departure date/time and return flight.
It makes sure that the returning flight is not within the
flightduration (so the plane has at least arrived at destination first).
end note
}
package data_layer <<Rectangle>> {
class IOAPI #LightBlue {
- CreateLogic
- GetLogic
- UpdateLogic
- VoyageHandler
----
- dataFiles: list
---methods --
+ opener(askedFile)
+ appender(fileName,filePackage)
+ updater(fileName,filePackage)
}
note right of IOAPI
IOAPI simply lets the logic_layer interact with the data,
the caller simply provides it with the filename, which
are kept in a dictionary in LLAPI and passed down to the
logic classes when called, which keeps the filenames consistent.
get the desired data from CSV files processes them
into lists of dictionaries for each row.
It can take single dictionary and append it to the given file
And then it can do reverse of get, by overwriting the given
file with provided data, expecting it to conform to correct keys.
end note
}
class Voyage #LightGray {
--atributes--
- _flightOut [ "flightNumber", {flight info}]
- _flightIn: [ "flightNumber", {flight info}]
- _destination: dictionary
- _departingFrom:string
- _departure:string = datetime.isoformat
- _return :string = datetime.isoformat
- _aircraftID :string
- _captain :string = ""
- _copilot:string = ""
- _fsm :string = ""
- _fa1 :string = ""
- _fa2 :string = ""
---methods--
#setVoyage(self, data:list)
+addCrew(self, crew:dict = {})
-processFlight(self, flight:dict)
-createFlightNumber(self,latestFlightNumber: str)
+ getFlights(self)
}
note right of Voyage
This is a model class that processes two flights and creates a
single voyage from them and makes easy work of getting the
flight data back in the form of two separate flights again.
it can take a list of employees with assigned roles for the
voyage to pudate the crew, and also return the list of crew.
When getting the flights, it makes sure that their shared info
is applied to the flights correctly, such as crew and destination.
end note
' class Destination
' class Flight
' class Employee
@enduml
|
43be19ac8e491504423daadc74ec57685363b224 | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/learning_plan/algorithms/third_day/third_day.plantuml | 35a2c630c562c8407343f0a5347a3460cb66ae0f | [] | no_license | shuile/LeetCode | 8b816b84071a5338db1161ac541437564574f96a | 4c12a838a0a895f8efcfbac09e1392c510595535 | refs/heads/master | 2023-08-17T04:53:37.617226 | 2023-08-15T16:18:46 | 2023-08-15T16:18:46 | 146,776,927 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 654 | plantuml | @startuml
title __THIRD_DAY's Class Diagram__\n
namespace cn.shui.learning_plan.algorithms.third_day {
class cn.shui.learning_plan.algorithms.third_day.L167 {
- twoSum1()
- twoSum2()
- twoSum3()
- twoSum4()
}
}
namespace cn.shui.learning_plan.algorithms.third_day {
class cn.shui.learning_plan.algorithms.third_day.L283 {
- moveZeros1()
- moveZeros2()
- swap()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
329118b77b607866081cccb8497b34be7a6c3b28 | 8029967a928f564ef12e2456e21f86e50d2a8712 | /.idea/modules/app/app.plantuml | 37cab66d122046b86bd110863de86dfb4b781d67 | [] | no_license | CPEN391ClockedIn/clockedin-frontend | 3039b248440abfe340419072f1305163317f0fec | ee95497d034a0a5db96930fea168052d9446f689 | refs/heads/master | 2023-04-07T13:01:27.961632 | 2021-04-14T04:58:29 | 2021-04-14T04:58:29 | 344,352,477 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,170 | plantuml | @startuml
title __CLOCKEDIN.APP's Class Diagram__\n
namespace com.example.clockedin {
class com.example.clockedin.BuildConfig {
}
}
namespace com.example.clockedin {
class com.example.clockedin.FirebaseMsg {
}
}
namespace com.example.clockedin {
class com.example.clockedin.LoginActivity {
}
}
namespace com.example.clockedin {
class com.example.clockedin.MainActivity {
}
}
namespace com.example.clockedin {
class com.example.clockedin.RegisterActivity {
}
}
namespace com.example.clockedin {
class com.example.clockedin.ServerCommu {
}
}
namespace com.example.clockedin {
class com.example.clockedin.User {
}
}
namespace com.example.clockedin {
namespace ui.calendar {
class com.example.clockedin.ui.calendar.CalendarFragment {
}
}
}
namespace com.example.clockedin {
namespace ui.chart {
class com.example.clockedin.ui.chart.ChartFragment {
}
}
}
namespace com.example.clockedin {
namespace ui.home {
class com.example.clockedin.ui.home.HomeFragment {
}
}
}
namespace com.example.clockedin {
namespace ui.profile {
class com.example.clockedin.ui.profile.ProfileFragment {
}
}
}
com.example.clockedin.FirebaseMsg -up-|> com.google.firebase.messaging.FirebaseMessagingService
com.example.clockedin.LoginActivity .up.|> android.view.View.OnClickListener
com.example.clockedin.LoginActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.clockedin.MainActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.clockedin.RegisterActivity .up.|> android.view.View.OnClickListener
com.example.clockedin.RegisterActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.clockedin.User .up.|> android.os.Parcelable
com.example.clockedin.ui.calendar.CalendarFragment .up.|> android.widget.CalendarView.OnDateChangeListener
com.example.clockedin.ui.calendar.CalendarFragment -up-|> androidx.fragment.app.Fragment
com.example.clockedin.ui.calendar.CalendarFragment o-- com.example.clockedin.User : user
com.example.clockedin.ui.chart.ChartFragment .up.|> android.widget.AdapterView.OnItemSelectedListener
com.example.clockedin.ui.chart.ChartFragment -up-|> androidx.fragment.app.Fragment
com.example.clockedin.ui.chart.ChartFragment o-- com.example.clockedin.User : user
com.example.clockedin.ui.home.HomeFragment .up.|> android.view.View.OnClickListener
com.example.clockedin.ui.home.HomeFragment -up-|> androidx.fragment.app.Fragment
com.example.clockedin.ui.home.HomeFragment o-- com.example.clockedin.User : user
com.example.clockedin.ui.profile.ProfileFragment .up.|> android.view.View.OnClickListener
com.example.clockedin.ui.profile.ProfileFragment -up-|> androidx.fragment.app.Fragment
com.example.clockedin.ui.profile.ProfileFragment o-- com.example.clockedin.User : user
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
31a54dd300d7de2cd232237c9c2f60bce8dc4454 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.puml | 77db970f21c6b3b1d71713b19f63ec744a135a50 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 197 | puml | @startuml
class TestEnumerator {
+ TestEnumerator(context:ITestExecutionContext, testEnumerator:IEnumerator)
+ Execute() : IEnumerator
}
TestEnumerator --> "Enumerator" IEnumerator
@enduml
|
ec416bcb8357401f9f982b17aa73bdc594efe506 | 7fb3eeefb1d2f5d4598bdc59498fb276675dab14 | /src/MST.puml | c9b0fd5853c047fd797a2ca1ca62876934438e51 | [] | no_license | ufii4/MST | aba57d5066fd26d9c88d026d188ff72f30fd829a | 5f5f9083d6676fdbca637f66346e7062dd6e7477 | refs/heads/master | 2023-01-27T13:33:07.802865 | 2020-12-10T19:12:30 | 2020-12-10T19:12:33 | 316,590,321 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 776 | puml | @startuml
DisjointSet <.right. Graph
class Graph {
-unsigned int numberOfNodes;
-double **adjMatrix;
+Graph();
+Graph(unsigned int numberOfNodes);
+~Graph();
+void init();
+void insertEdge(unsigned int v1, unsigned int v2, double weight);
+bool rmEdge(unsigned int v1, unsigned int v2);
+unsigned int getEdgeCount() const;
+unsigned int getDegreeOf(unsigned int vertex) const;
+bool tryGetMSTWeight(double &weight) const;
+unsigned int getSize() const;
}
class DisjointSet {
+DisjointSet();
+DisjointSet(unsigned int n);
+~DisjointSet();
+void merge(unsigned int i1, unsigned int i2);
+unsigned int find(unsigned int x);
-unsigned int n;
-unsigned int *nodes;
}
class InvalidArgument {}
@enduml |
4885d91417f4e48303bf7deb3fe1f5e83d85f9cb | 47af1c862b63ad16eeff08b252f796f53dadc93c | /scala/model/Search.puml | 0356fe1dc93168f6e04143be22bc068f64052677 | [] | no_license | suzuki-hoge/ec-site-practice | fb942bb6ef95384ff117f1b89b87b2a178fd7aa1 | 5e9f19cd313fb967c70c6c3bea9996f9b4e64ff9 | refs/heads/master | 2021-06-10T08:55:32.813588 | 2017-01-29T08:57:34 | 2017-01-29T09:09:34 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 328 | puml | @startuml
class Book
class BookId
class BookName
class ISBN
enum Genre
enum Language
Book -down-> BookId
Book -down-> BookName
Book -down-> ISBN
Book -down-> Genre
Book -down-> Language
class Filter
Filter -up->"0..1" Genre
Filter -up->"0..1" Language
interface BookSearchRepository {
[Book] find(Filter)
}
@enduml |
ee84d828748324112c94130324d6c4f20b09aa9f | 065da8d391be577d7fc71aa024ab81e35c39618b | /PlantUml/Dolphin.IO.Tests/FileEnumeratorTests.puml | 4a4883c075d99bd6732e877c2da7e3f9c7451047 | [] | no_license | leoshiang/Dolphin.CSharp | 1fc921ea04a4a721b49557748f7ca15f89f9e414 | 61438432f088c6b380356afdcba4c627985fa152 | refs/heads/master | 2023-04-17T03:59:19.871766 | 2023-03-30T02:03:42 | 2023-03-30T02:03:42 | 204,225,824 | 0 | 0 | null | 2022-12-08T04:32:20 | 2019-08-25T00:02:55 | C# | UTF-8 | PlantUML | false | false | 118 | puml | @startuml
class FileEnumeratorTests {
+ 在檔案系統中搜尋exe應回傳檔案完整路徑() : void
}
@enduml
|
08c0e0bfc872216f770fb5075f33e299839639e3 | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-codelist-tilgangskategori.iuml | 32be626225f1b2a771ff7fe46e992182563c65aa | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 159 | iuml | @startuml
class Kodelister.Tilgangskategori <<codelist>> {
+arkivdel = A
+klasse = K
+mappe = M
+registrering = R
+dokumentbeskrivelse = D
}
@enduml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.