Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
ef7f1c2c
Commit
ef7f1c2c
authored
Jun 08, 2023
by
zhanghou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交IControl实现类
parent
fc51d624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
ControlImpl.java
...java/com/brilliance/mda/runtime/mda/impl/ControlImpl.java
+48
-0
No files found.
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/impl/ControlImpl.java
0 → 100644
View file @
ef7f1c2c
package
com
.
brilliance
.
mda
.
runtime
.
mda
.
impl
;
import
com.brilliance.mda.runtime.mda.IControl
;
import
com.brilliance.mda.runtime.mda.IModule
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
public
class
ControlImpl
implements
IControl
{
private
String
_path
;
private
String
_name
;
private
String
_description
;
@JsonIgnore
private
IModule
_parent
;
public
ControlImpl
(
String
name
,
String
description
,
IModule
parent
)
{
this
.
_name
=
name
;
this
.
_parent
=
parent
;
this
.
_description
=
description
;
String
prefix
=
parent
.
getPath
();
if
(
prefix
!=
null
&&
prefix
.
length
()
!=
0
&&
!
prefix
.
equals
(
"\\"
))
{
this
.
_path
=
prefix
+
"\\"
+
this
.
_name
;
}
else
{
this
.
_path
=
"\\"
+
this
.
_name
;
}
}
@JsonIgnore
public
String
getName
()
{
return
this
.
_name
;
}
@JsonIgnore
public
IModule
getParent
()
{
return
this
.
_parent
;
}
@JsonIgnore
public
String
getPath
()
{
return
this
.
_path
.
toUpperCase
();
}
public
void
clear
()
{
}
public
String
getDescription
()
{
return
this
.
_description
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment