-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial structure of com.evolveum.prism
Signed-off-by: Tony Tkacik <tony.tkacik@evolveum.com>
- Loading branch information
1 parent
e48b6b4
commit 71ee2c5
Showing
20 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
infra/prism-api/src/main/java/com/evolveum/prism/concepts/Documented.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,8 @@ | ||
package com.evolveum.prism.concepts; | ||
|
||
public interface Documented { | ||
|
||
String documentation(); | ||
|
||
String documentationPreview(); | ||
} |
6 changes: 6 additions & 0 deletions
6
infra/prism-api/src/main/java/com/evolveum/prism/concepts/Identifiable.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,6 @@ | ||
package com.evolveum.prism.concepts; | ||
|
||
public interface Identifiable<T> { | ||
|
||
T identifier(); | ||
} |
9 changes: 9 additions & 0 deletions
9
infra/prism-api/src/main/java/com/evolveum/prism/concepts/MaybeIdentifiable.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,9 @@ | ||
package com.evolveum.prism.concepts; | ||
|
||
import java.util.Optional; | ||
|
||
public interface MaybeIdentifiable<T> { | ||
|
||
Optional<T> identifier(); | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismContainer.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismContainer extends PrismItem<PrismContainerValue> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismContainerValue.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismContainerValue extends PrismValue<PrismContainerValue> { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismItem.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,7 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismItem<V extends PrismValue<V>> { | ||
|
||
Iterable<V> allValues(); | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismProperty.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismProperty extends PrismItem<PrismPropertyValue> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismPropertyValue.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismPropertyValue extends PrismValue<PrismPropertyValue> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismReference.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismReference extends PrismItem<PrismReferenceValue> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismReferenceValue.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismReferenceValue extends PrismValue<PrismReferenceValue> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/data/PrismValue.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,5 @@ | ||
package com.evolveum.prism.data; | ||
|
||
public interface PrismValue<F extends PrismValue<F>> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismComplexTypeDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismComplexTypeDefinition extends PrismTypeDefinition { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismContainerDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismContainerDefinition extends PrismItemDefinition { | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismDefinition.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,9 @@ | ||
package com.evolveum.prism.def; | ||
|
||
import javax.xml.namespace.QName; | ||
|
||
import com.evolveum.prism.concepts.Identifiable; | ||
|
||
public interface PrismDefinition extends Identifiable<QName> { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismItemDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismItemDefinition extends PrismDefinition { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismObjectDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismObjectDefinition extends PrismContainerDefinition { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismPropertyDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismPropertyDefinition extends PrismItemDefinition { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismReferenceDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismReferenceDefinition extends PrismItemDefinition { | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismSimpleTypeDefinition.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,9 @@ | ||
package com.evolveum.prism.def; | ||
|
||
import java.util.Optional; | ||
|
||
public interface PrismSimpleTypeDefinition extends PrismTypeDefinition { | ||
|
||
Optional<PrismComplexTypeDefinition> extendedFormDefinition(); | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
infra/prism-api/src/main/java/com/evolveum/prism/def/PrismTypeDefinition.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,5 @@ | ||
package com.evolveum.prism.def; | ||
|
||
public interface PrismTypeDefinition extends PrismDefinition { | ||
|
||
} |