eu.xenit.apix.node.ChildParentAssociation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apix-interface Show documentation
Show all versions of apix-interface Show documentation
Xenit API-X Java interface
package eu.xenit.apix.node;
import eu.xenit.apix.data.NodeRef;
import eu.xenit.apix.data.QName;
/**
* Represents a child parent relation between a source and a target node of a specific type. A child can have multiple
* parents but should only have one primary parent.
*/
public class ChildParentAssociation extends NodeAssociation {
private boolean isPrimary;
public ChildParentAssociation() {
}
public ChildParentAssociation(NodeRef source, NodeRef target, QName type, boolean isPrimary) {
super(source, target, type);
this.isPrimary = isPrimary;
}
public boolean isPrimary() {
return isPrimary;
}
public void setPrimary(boolean primary) {
isPrimary = primary;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy