protected static InfoTopic transformInfoTopic ( final CSNodeWrapper parentNode , final CSInfoNodeWrapper node ) { final InfoTopic infoTopic = new InfoTopic ( node . getTopicId ( ) , null ) ; // Basic data infoTopic . setRevision ( node . getTopicRevision ( ) ) ; infoTopic . setConditionStatement ( node . getCondition ( ) ) ; infoTopic . setUniqueId ( parentNode . getId ( ) == null ? null : parentNode . getId ( ) . toString ( ) ) ; return infoTopic ; }
Transform a Topic CSNode entity object into an InfoTopic Object that can be added to a Content Specification .