|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.data.Namer
public class Namer
An ObjectTransform that generates a String name from a source object, using a string template.
| Constructor Summary | |
|---|---|
Namer()
Create a new Namer. |
|
Namer(java.lang.String template)
|
|
| Method Summary | |
|---|---|
java.util.Set |
getRequiredPaths()
|
Cog |
getState()
|
java.lang.String |
getTemplate()
Gets the value of template |
void |
setState(Cog newState)
|
void |
setTemplate(java.lang.String argTemplate)
Sets the value of template |
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 Namer()
public Namer(java.lang.String template)
| 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 getTemplate()
public void setTemplate(java.lang.String argTemplate)
argTemplate - Value to assign to this.template
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||