Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)

com.lapetus_ltd.api.xml.types
Class TLptsCodeTemplateType

java.lang.Object
  extended by com.lapetus_ltd._2009.xml.types.XLptsCodeTemplateType
      extended by com.lapetus_ltd.api.xml.types.TLptsCodeTemplateType

public class TLptsCodeTemplateType
extends XLptsCodeTemplateType

Class Description : This class is derived from the XSD generated Code Template Type.

It serves as a wrapper for initialising and controlling settings.

$LastChangedRevision: 1175 $
$LastChangedDate:: 2010-11-09 13:47:26#$


Field Summary
 
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsCodeTemplateType
entry, id, name
 
Constructor Summary
TLptsCodeTemplateType(java.lang.String name)
           This constructor initiates the template type.
 
Method Summary
 void addEntry(XLptsCodeEntryType codeEntryType)
           Adds an entry to the code template.
 void removeEntry(XLptsCodeEntryType codeEntryType)
           Removes an entry from the code template.
 
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsCodeTemplateType
getEntry, getId, getName, setId, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLptsCodeTemplateType

public TLptsCodeTemplateType(java.lang.String name)

This constructor initiates the template type.

Thread Safe : Yes

Spawns its own Thread : No

May Return NULL : Never.

Notes :

Example :


 TLptsCodeTemplateType ct = new TLptsCodeTemplateType("JUT Code Template");

 

Method Detail

addEntry

public void addEntry(XLptsCodeEntryType codeEntryType)

Adds an entry to the code template.

Thread Safe : Yes

Spawns its own Thread : No

May Return NULL : N/A

Notes :

Example :

 XLptsCodeEntryType ce = new XLptsCodeEntryType();
 ce.setUniqueTitle("Name");
 ce.setCode("Code to be included");
 addEntry(ce);
 


removeEntry

public void removeEntry(XLptsCodeEntryType codeEntryType)

Removes an entry from the code template.

Thread Safe : Yes

Spawns its own Thread : No

May Return NULL : N/A.

Notes :

Example :

 



Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)