Package org.alfresco.repo.index.shard
Class Floc
- java.lang.Object
-
- org.alfresco.repo.index.shard.Floc
-
- All Implemented Interfaces:
Serializable
public class Floc extends Object implements Serializable
- Author:
- Andy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Floc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetNumberOfShards()HashMap<String,String>getPropertyBag()ShardMethodEnumgetShardMethod()HashSet<StoreRef>getStoreRefs()StringgetTemplate()booleanhasContent()inthashCode()voidsetHasContent(boolean hasContent)voidsetNumberOfShards(int numberOfShards)voidsetPropertyBag(HashMap<String,String> propertyBag)voidsetShardMethod(ShardMethodEnum shardMethod)voidsetStoreRefs(HashSet<StoreRef> storeRefs)voidsetTemplate(String template)StringtoString()
-
-
-
Method Detail
-
setStoreRefs
public void setStoreRefs(HashSet<StoreRef> storeRefs)
- Parameters:
storeRefs- the storeRefs to set
-
getNumberOfShards
public int getNumberOfShards()
- Returns:
- the numberOfShards
-
setNumberOfShards
public void setNumberOfShards(int numberOfShards)
- Parameters:
numberOfShards- the numberOfShards to set
-
getShardMethod
public ShardMethodEnum getShardMethod()
- Returns:
- the shardMethod
-
setShardMethod
public void setShardMethod(ShardMethodEnum shardMethod)
- Parameters:
shardMethod- the shardMethod to set
-
getTemplate
public String getTemplate()
- Returns:
- the template
-
setTemplate
public void setTemplate(String template)
- Parameters:
template- the template to set
-
hasContent
public boolean hasContent()
- Returns:
- the hasContent
-
setHasContent
public void setHasContent(boolean hasContent)
- Parameters:
hasContent- the hasContent to set
-
setPropertyBag
public void setPropertyBag(HashMap<String,String> propertyBag)
- Parameters:
propertyBag- the propertyBag to set
-
-