mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
127579 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2) 126567 jvonka: Node Associations - further updates - for child assocs, do not expose assoc child qname (nominally like file/folder for primary child assoc) - additional api tests (+ve & -ve) for peer assocs & secondary child assocs - RA-745, RA-920, RA-921, RA-930, RA-742, RA-918, RA-919 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,37 +24,24 @@ package org.alfresco.rest.api.model;
|
||||
public class AssocChild extends Assoc
|
||||
{
|
||||
private String childId;
|
||||
private String prefixAssocChildQName;
|
||||
private Boolean isPrimaryParent;
|
||||
|
||||
public AssocChild()
|
||||
{
|
||||
}
|
||||
|
||||
public AssocChild(String prefixAssocTypeQName, boolean isPrimaryParent, String prefixAssocChildQName)
|
||||
public AssocChild(String prefixAssocTypeQName, boolean isPrimaryParent)
|
||||
{
|
||||
super(prefixAssocTypeQName);
|
||||
|
||||
this.prefixAssocChildQName = prefixAssocChildQName;
|
||||
this.isPrimaryParent = isPrimaryParent;
|
||||
}
|
||||
|
||||
public AssocChild(String childId, String prefixAssocTypeQName, String prefixAssocNameQName)
|
||||
public AssocChild(String childId, String prefixAssocTypeQName)
|
||||
{
|
||||
super(prefixAssocTypeQName);
|
||||
|
||||
this.childId = childId;
|
||||
this.prefixAssocChildQName = prefixAssocNameQName;
|
||||
}
|
||||
|
||||
public String getChildQName()
|
||||
{
|
||||
return prefixAssocChildQName;
|
||||
}
|
||||
|
||||
public void setChildQName(String prefixAssocChildQName)
|
||||
{
|
||||
this.prefixAssocChildQName = prefixAssocChildQName;
|
||||
}
|
||||
|
||||
public Boolean getIsPrimaryParent()
|
||||
|
Reference in New Issue
Block a user