/* * Copyright (C) 2005-2011 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Alfresco is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with Alfresco. If not, see . */ package org.alfresco.repo.solr; import java.io.Serializable; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import org.alfresco.service.cmr.repository.ChildAssociationRef; import org.alfresco.service.cmr.repository.NodeRef; import org.alfresco.service.cmr.repository.Path; import org.alfresco.service.namespace.QName; import org.alfresco.util.Pair; /** * * @since 4.0 */ public class NodeMetaData { private Long nodeId; private NodeRef nodeRef; private String owner; private QName nodeType; private Long aclId; private Map properties; private Set aspects; private Collection> paths; private Collection> namePaths; private List childAssocs; private List parentAssocs; private Long parentAssocsCrc; private List childIds; private Long txnId; private String tenantDomain; public String getOwner() { return owner; } public void setOwner(String owner) { this.owner = owner; } public NodeRef getNodeRef() { return nodeRef; } public void setNodeRef(NodeRef nodeRef) { this.nodeRef = nodeRef; } public Collection> getPaths() { return paths; } public void setPaths(Collection> paths) { this.paths = paths; } public Collection> getNamePaths() { return namePaths; } public void setNamePaths(Collection> namePaths) { this.namePaths = namePaths; } public QName getNodeType() { return nodeType; } public void setNodeType(QName nodeType) { this.nodeType = nodeType; } public Long getNodeId() { return nodeId; } public void setNodeId(Long nodeId) { this.nodeId = nodeId; } public Long getAclId() { return aclId; } public void setAclId(Long aclId) { this.aclId = aclId; } public Map getProperties() { return properties; } public void setProperties(Map properties) { this.properties = properties; } public Set getAspects() { return aspects; } public void setAspects(Set aspects) { this.aspects = aspects; } public List getChildAssocs() { return childAssocs; } public void setChildAssocs(List childAssocs) { this.childAssocs = childAssocs; } /** * @param parentAssocs * @param crc */ public void setParentAssocs(List parentAssocs, Long parentAssocsCrc) { this.parentAssocs = parentAssocs; this.parentAssocsCrc = parentAssocsCrc; } public List getParentAssocs() { return parentAssocs; } public Long getParentAssocsCrc() { return parentAssocsCrc; } public List getChildIds() { return childIds; } public void setChildIds(List childIds) { this.childIds = childIds; } public Long getTxnId() { return txnId; } public void setTxnId(Long txnId) { this.txnId = txnId; } public String getTenantDomain() { return tenantDomain; } public void setTenantDomain(String tenantDomain) { this.tenantDomain = tenantDomain; } }