diff options
Diffstat (limited to 'source/com/c2kernel/lifecycle/instance/predefined/entitycreation')
| -rw-r--r-- | source/com/c2kernel/lifecycle/instance/predefined/entitycreation/Dependency.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/lifecycle/instance/predefined/entitycreation/Dependency.java b/source/com/c2kernel/lifecycle/instance/predefined/entitycreation/Dependency.java index dc31c73..1124ede 100644 --- a/source/com/c2kernel/lifecycle/instance/predefined/entitycreation/Dependency.java +++ b/source/com/c2kernel/lifecycle/instance/predefined/entitycreation/Dependency.java @@ -27,8 +27,8 @@ public class Dependency implements java.io.Serializable { * @return
*/
public com.c2kernel.collection.Dependency create() throws MembershipException{
- com.c2kernel.collection.Dependency newDep = new com.c2kernel.collection.Dependency(name);
- if (itemDescriptionPath != null) {
+ com.c2kernel.collection.Dependency newDep = isDescription?new com.c2kernel.collection.DependencyDescription(name):new com.c2kernel.collection.Dependency(name);
+ if (itemDescriptionPath != null && itemDescriptionPath.length()>0) {
PropertyUtility.getPropertyDescriptionOutcome(new DomainPath(itemDescriptionPath).getSysKey());
//TODO: set props and class identifiers
}
|
