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 boolean
equals(Object obj)
int
getNumberOfShards()
HashMap<String,String>
getPropertyBag()
ShardMethodEnum
getShardMethod()
HashSet<StoreRef>
getStoreRefs()
String
getTemplate()
boolean
hasContent()
int
hashCode()
void
setHasContent(boolean hasContent)
void
setNumberOfShards(int numberOfShards)
void
setPropertyBag(HashMap<String,String> propertyBag)
void
setShardMethod(ShardMethodEnum shardMethod)
void
setStoreRefs(HashSet<StoreRef> storeRefs)
void
setTemplate(String template)
String
toString()
-
-
-
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
-
-