-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add isParent field + address comments
- Loading branch information
Yingjian Wu
committed
Jun 27, 2024
1 parent
7096045
commit 98f590d
Showing
6 changed files
with
122 additions
and
91 deletions.
There are no files selected for viewing
22 changes: 4 additions & 18 deletions
22
...ommon-server/src/main/java/com/netflix/metacat/common/server/model/BaseRelEntityInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,21 @@ | ||
package com.netflix.metacat.common.server.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* Base class to represent relation entity. | ||
*/ | ||
@Data | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public abstract class BaseRelEntityInfo implements Serializable { | ||
private static final long serialVersionUID = 9121109874202888889L; | ||
private String name; | ||
private String relationType; | ||
private String uuid; | ||
|
||
/** | ||
Empty Constructor. | ||
*/ | ||
public BaseRelEntityInfo() { | ||
|
||
} | ||
|
||
/** | ||
Constructor with all params. | ||
@param name name of the entity | ||
@param relationType type of the relation | ||
@param uuid uuid of the entity | ||
*/ | ||
public BaseRelEntityInfo(final String name, final String relationType, final String uuid) { | ||
this.name = name; | ||
this.relationType = relationType; | ||
this.uuid = uuid; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.