|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sf.bluprints.Bluprint
public class Bluprint
This class is a single Bluprint definition.
Constructor Summary | |
---|---|
Bluprint()
|
Method Summary | |
---|---|
Bluprint |
clone()
|
Map<String,Bluprint> |
getContent()
Returns a Map of the content (child) Bluprints of this Bluprint. |
String[] |
getContentNames()
Returns the list of the names of all the content in this Bluprint. |
String |
getExtends()
Returns the name of the Bluprint that this Bluprint is extending. |
String |
getName()
|
Map<String,String> |
getParameters()
Returns the Map of parameters for this Bluprint. |
String |
getUri()
|
void |
setContent(List<Bluprint> content)
Sets the content of this Bluprint. |
void |
setExtends(String extend)
Sets the name of the parent Bluprint. |
void |
setName(String name)
|
void |
setUri(String uri)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bluprint()
Method Detail |
---|
public String getName()
public void setName(String name)
public String getUri()
public void setUri(String uri)
public String getExtends()
public void setExtends(String extend)
extend
- The name of the parent of this Bluprint.public Map<String,Bluprint> getContent()
Returns a Map of the content (child) Bluprints of this Bluprint. This Map is not live and is immutable! Changes made to this Map do not effect the state of this Bluprint. In fact, the only way to make changes to the content of this Bluprint is to set in new content.
NOTE: This Map contains the content of this Bluprint as well as this Bluprints parent. This is done so that the Bluprint's content is fully constructed at all times.
public void setContent(List<Bluprint> content)
content
- The new content of this Bluprint.public String[] getContentNames()
public Map<String,String> getParameters()
Returns the Map of parameters for this Bluprint. This Map is not live! Changes made to this Map do not effect this Bluprint. There is currently no access (except package protected) to the Map of parameters for this Bluprint only.
NOTE: This Map contains the parameters from this Bluprint, this Bluprints container and this Bluprints parent. This is done so that the Map contains the full set of parameters that are available to this Bluprint.
public Bluprint clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |