Package org.alfresco.repo.index.shard
Class Floc
- java.lang.Object
-
- org.alfresco.repo.index.shard.Floc
-
- All Implemented Interfaces:
java.io.Serializable
public class Floc extends java.lang.Object implements java.io.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(java.lang.Object obj)
int
getNumberOfShards()
java.util.HashMap<java.lang.String,java.lang.String>
getPropertyBag()
ShardMethodEnum
getShardMethod()
java.util.HashSet<StoreRef>
getStoreRefs()
java.lang.String
getTemplate()
boolean
hasContent()
int
hashCode()
void
setHasContent(boolean hasContent)
void
setNumberOfShards(int numberOfShards)
void
setPropertyBag(java.util.HashMap<java.lang.String,java.lang.String> propertyBag)
void
setShardMethod(ShardMethodEnum shardMethod)
void
setStoreRefs(java.util.HashSet<StoreRef> storeRefs)
void
setTemplate(java.lang.String template)
java.lang.String
toString()
-
-
-
Method Detail
-
getStoreRefs
public java.util.HashSet<StoreRef> getStoreRefs()
- Returns:
- the storeRefs
-
setStoreRefs
public void setStoreRefs(java.util.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 java.lang.String getTemplate()
- Returns:
- the template
-
setTemplate
public void setTemplate(java.lang.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
-
getPropertyBag
public java.util.HashMap<java.lang.String,java.lang.String> getPropertyBag()
- Returns:
- the propertyBag
-
setPropertyBag
public void setPropertyBag(java.util.HashMap<java.lang.String,java.lang.String> propertyBag)
- Parameters:
propertyBag
- the propertyBag to set
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-