Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,086 additions
and
10 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/dataModel/AdHocDataItem.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.evolveum.midpoint.model.impl.dataModel; | ||
|
||
import com.evolveum.midpoint.prism.path.ItemPath; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** | ||
* @author mederly | ||
*/ | ||
public class AdHocDataItem extends DataItem { | ||
|
||
@NotNull private final ItemPath itemPath; | ||
|
||
public AdHocDataItem(@NotNull ItemPath itemPath) { | ||
this.itemPath = itemPath; | ||
} | ||
|
||
@Override | ||
public String getNodeName() { | ||
return "Unresolved: " + itemPath; | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/dataModel/DataItem.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.evolveum.midpoint.model.impl.dataModel; | ||
|
||
/** | ||
* @author mederly | ||
*/ | ||
public abstract class DataItem { | ||
|
||
public abstract String getNodeName(); | ||
public abstract String getNodeLabel(); | ||
public abstract String getNodeStyleAttributes(); | ||
|
||
} |
Oops, something went wrong.