Javadoc clean up

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2011-11-16 10:59:34 +00:00
parent b18da4e3cf
commit 173ab993eb

View File

@@ -62,7 +62,9 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
private CMISDictionaryService cmisDictionaryService; private CMISDictionaryService cmisDictionaryService;
public CMISResultSetRowImpl(CMISResultSet resultSet, int index, Map<String, Float> scores, NodeService nodeService, Map<String, NodeRef> nodeRefs, Query query, public CMISResultSetRowImpl(
CMISResultSet resultSet, int index, Map<String, Float> scores,
NodeService nodeService, Map<String, NodeRef> nodeRefs, Query query,
CMISDictionaryService cmisDictionaryService) CMISDictionaryService cmisDictionaryService)
{ {
this.resultSet = resultSet; this.resultSet = resultSet;
@@ -74,28 +76,19 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
this.cmisDictionaryService = cmisDictionaryService; this.cmisDictionaryService = cmisDictionaryService;
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getIndex()
*/
public int getIndex() public int getIndex()
{ {
return index; return index;
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getResultSet()
*/
public ResultSet getResultSet() public ResultSet getResultSet()
{ {
return new ResultSetSPIWrapper<CMISResultSetRow, CMISResultSetMetaData>(resultSet); return new ResultSetSPIWrapper<CMISResultSetRow, CMISResultSetMetaData>(resultSet);
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getScore()
*/
public float getScore() public float getScore()
{ {
float count = 0; float count = 0;
@@ -107,46 +100,31 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
return overall; return overall;
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getScore(java.lang.String)
*/
public float getScore(String selectorName) public float getScore(String selectorName)
{ {
return scores.get(selectorName); return scores.get(selectorName);
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getScores()
*/
public Map<String, Float> getScores() public Map<String, Float> getScores()
{ {
return scores; return scores;
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getScore(java.lang.String)
*/
public NodeRef getNodeRef(String selectorName) public NodeRef getNodeRef(String selectorName)
{ {
return nodeRefs.get(selectorName); return nodeRefs.get(selectorName);
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getScores()
*/
public Map<String, NodeRef> getNodeRefs() public Map<String, NodeRef> getNodeRefs()
{ {
return nodeRefs; return nodeRefs;
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getValue(java.lang.String)
*/
public Serializable getValue(String columnName) public Serializable getValue(String columnName)
{ {
CmisFunctionEvaluationContext context = new CmisFunctionEvaluationContext(); CmisFunctionEvaluationContext context = new CmisFunctionEvaluationContext();
@@ -202,10 +180,7 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
return null; return null;
} }
/* @Override
* (non-Javadoc)
* @see org.alfresco.cmis.search.CMISResultSetRow#getValues()
*/
public Map<String, Serializable> getValues() public Map<String, Serializable> getValues()
{ {
LinkedHashMap<String, Serializable> answer = new LinkedHashMap<String, Serializable>(); LinkedHashMap<String, Serializable> answer = new LinkedHashMap<String, Serializable>();
@@ -216,17 +191,20 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
return answer; return answer;
} }
@Override
public CMISResultSet getCMISResultSet() public CMISResultSet getCMISResultSet()
{ {
return resultSet; return resultSet;
} }
@Override
public ChildAssociationRef getChildAssocRef() public ChildAssociationRef getChildAssocRef()
{ {
NodeRef nodeRef = getNodeRef(); NodeRef nodeRef = getNodeRef();
return nodeService.getPrimaryParent(nodeRef); return nodeService.getPrimaryParent(nodeRef);
} }
@Override
public NodeRef getNodeRef() public NodeRef getNodeRef()
{ {
if (nodeRefs.size() == 1) if (nodeRefs.size() == 1)
@@ -260,14 +238,15 @@ public class CMISResultSetRowImpl implements CMISResultSetRow
return true; return true;
} }
@Override
public QName getQName() public QName getQName()
{ {
return getChildAssocRef().getQName(); return getChildAssocRef().getQName();
} }
@Override
public Serializable getValue(QName qname) public Serializable getValue(QName qname)
{ {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
} }