|
|||||||||
| 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(Cog newState)
|
|
Namer(java.lang.String template)
|
|
| Method Summary | |
|---|---|
java.util.Set |
getRequiredPaths()
|
java.lang.String |
getTemplate()
Gets the value of template |
void |
setTemplate(java.lang.String argTemplate)
Sets the value of template |
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
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(Cog newState)
public Namer()
public Namer(java.lang.String template)
| Method Detail |
|---|
public Cog toCog()
CoggableCog.
toCog 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 | ||||||||