|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.data.SplittingNamer
public class SplittingNamer
A transform that generates a String name for an object by first generating a group name, then then looking up another transform in a Map, then running that. It can of course be nested further. A default is provided if all else fails.
| Constructor Summary | |
|---|---|
SplittingNamer()
Create a new SplittingNamer. |
|
| Method Summary | |
|---|---|
ObjectNamer |
getDefaultNamer()
Gets the value of defaultNamer |
Naming |
getGroupNamers()
Gets the value of groupNamers |
java.lang.String |
getGroupNameTemplate()
Gets the value of groupNameTemplate |
java.util.Set |
getRequiredPaths()
|
Cog |
getState()
|
void |
setDefaultNamer(ObjectNamer argDefaultNamer)
Sets the value of defaultNamer |
void |
setGroupNamers(Naming argGroupNamers)
Sets the value of groupNamers |
void |
setGroupNameTemplate(java.lang.String argGroupNameTemplate)
Sets the value of groupNameTemplate |
void |
setState(Cog newState)
|
java.lang.Object |
transform(java.lang.Object source)
Our one method; this transforms one object into another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplittingNamer()
| Method Detail |
|---|
public Cog getState()
getState in interface Coggablepublic void setState(Cog newState)
setState in interface Coggablepublic java.lang.Object transform(java.lang.Object source)
ObjectTransform
transform in interface ObjectTransformpublic java.util.Set getRequiredPaths()
getRequiredPaths in interface ObjectNamerpublic java.lang.String getGroupNameTemplate()
public void setGroupNameTemplate(java.lang.String argGroupNameTemplate)
argGroupNameTemplate - Value to assign to this.groupNameTemplatepublic Naming getGroupNamers()
public void setGroupNamers(Naming argGroupNamers)
argGroupNamers - Value to assign to this.groupNamerspublic ObjectNamer getDefaultNamer()
public void setDefaultNamer(ObjectNamer argDefaultNamer)
argDefaultNamer - Value to assign to this.defaultNamer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||