Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
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
dataplatform
atlas
Commits
b2a77d0f
Commit
b2a77d0f
authored
6 years ago
by
Diego Marino Monetti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing AtlasEntityDef constructor for serviceType
parent
2c0a8bcc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
5 deletions
+32
-5
AtlasEntityDef.java
...n/java/org/apache/atlas/model/typedef/AtlasEntityDef.java
+32
-5
No files found.
intg/src/main/java/org/apache/atlas/model/typedef/AtlasEntityDef.java
View file @
b2a77d0f
...
@@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonAutoDetect;
...
@@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonAutoDetect;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
org.apache.atlas.model.PList
;
import
org.apache.atlas.model.PList
;
import
org.apache.atlas.model.SearchFilter.SortType
;
import
org.apache.atlas.model.SearchFilter.SortType
;
import
org.apache.atlas.model.TypeCategory
;
import
org.apache.atlas.model.TypeCategory
;
...
@@ -60,23 +61,32 @@ public class AtlasEntityDef extends AtlasStructDef implements java.io.Serializab
...
@@ -60,23 +61,32 @@ public class AtlasEntityDef extends AtlasStructDef implements java.io.Serializab
public
AtlasEntityDef
()
{
public
AtlasEntityDef
()
{
this
(
null
,
null
,
null
,
null
,
null
,
null
);
this
(
null
,
null
,
null
,
null
,
null
,
null
,
null
);
}
}
public
AtlasEntityDef
(
String
name
)
{
public
AtlasEntityDef
(
String
name
)
{
this
(
name
,
null
,
null
,
null
,
null
,
null
);
this
(
name
,
null
,
null
,
null
,
null
,
null
,
null
);
}
}
public
AtlasEntityDef
(
String
name
,
String
description
)
{
public
AtlasEntityDef
(
String
name
,
String
description
)
{
this
(
name
,
description
,
null
,
null
,
null
,
null
);
this
(
name
,
description
,
null
,
null
,
null
,
null
,
null
);
}
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
)
{
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
)
{
this
(
name
,
description
,
typeVersion
,
null
,
null
,
null
);
this
(
name
,
description
,
typeVersion
,
null
,
null
,
null
,
null
);
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
String
serviceType
)
{
this
(
name
,
description
,
typeVersion
,
serviceType
,
null
,
null
,
null
);
}
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
List
<
AtlasAttributeDef
>
attributeDefs
)
{
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
List
<
AtlasAttributeDef
>
attributeDefs
)
{
this
(
name
,
description
,
typeVersion
,
attributeDefs
,
null
,
null
);
this
(
name
,
description
,
typeVersion
,
attributeDefs
,
null
);
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
String
serviceType
,
List
<
AtlasAttributeDef
>
attributeDefs
)
{
this
(
name
,
description
,
typeVersion
,
serviceType
,
attributeDefs
,
null
,
null
);
}
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
List
<
AtlasAttributeDef
>
attributeDefs
,
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
List
<
AtlasAttributeDef
>
attributeDefs
,
...
@@ -84,6 +94,12 @@ public class AtlasEntityDef extends AtlasStructDef implements java.io.Serializab
...
@@ -84,6 +94,12 @@ public class AtlasEntityDef extends AtlasStructDef implements java.io.Serializab
this
(
name
,
description
,
typeVersion
,
attributeDefs
,
superTypes
,
null
);
this
(
name
,
description
,
typeVersion
,
attributeDefs
,
superTypes
,
null
);
}
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
String
serviceType
,
List
<
AtlasAttributeDef
>
attributeDefs
,
Set
<
String
>
superTypes
)
{
this
(
name
,
description
,
typeVersion
,
serviceType
,
attributeDefs
,
superTypes
,
null
);
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
List
<
AtlasAttributeDef
>
attributeDefs
,
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
List
<
AtlasAttributeDef
>
attributeDefs
,
Set
<
String
>
superTypes
,
Map
<
String
,
String
>
options
)
{
Set
<
String
>
superTypes
,
Map
<
String
,
String
>
options
)
{
super
(
TypeCategory
.
ENTITY
,
name
,
description
,
typeVersion
,
attributeDefs
,
options
);
super
(
TypeCategory
.
ENTITY
,
name
,
description
,
typeVersion
,
attributeDefs
,
options
);
...
@@ -91,12 +107,23 @@ public class AtlasEntityDef extends AtlasStructDef implements java.io.Serializab
...
@@ -91,12 +107,23 @@ public class AtlasEntityDef extends AtlasStructDef implements java.io.Serializab
setSuperTypes
(
superTypes
);
setSuperTypes
(
superTypes
);
}
}
public
AtlasEntityDef
(
String
name
,
String
description
,
String
typeVersion
,
String
serviceType
,
List
<
AtlasAttributeDef
>
attributeDefs
,
Set
<
String
>
superTypes
,
Map
<
String
,
String
>
options
)
{
super
(
TypeCategory
.
ENTITY
,
name
,
description
,
typeVersion
,
attributeDefs
,
serviceType
,
options
);
setSuperTypes
(
superTypes
);
}
public
AtlasEntityDef
(
AtlasEntityDef
other
)
{
public
AtlasEntityDef
(
AtlasEntityDef
other
)
{
super
(
other
);
super
(
other
);
setSuperTypes
(
other
!=
null
?
other
.
getSuperTypes
()
:
null
);
setSuperTypes
(
other
!=
null
?
other
.
getSuperTypes
()
:
null
);
}
}
public
Set
<
String
>
getSuperTypes
()
{
public
Set
<
String
>
getSuperTypes
()
{
return
superTypes
;
return
superTypes
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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