當前位置: 首頁>>代碼示例>>Java>>正文


Java Const.CR屬性代碼示例

本文整理匯總了Java中org.pentaho.di.core.Const.CR屬性的典型用法代碼示例。如果您正苦於以下問題:Java Const.CR屬性的具體用法?Java Const.CR怎麽用?Java Const.CR使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在org.pentaho.di.core.Const的用法示例。


在下文中一共展示了Const.CR屬性的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getXML

/***
 * Generates the XML Output for the Storage of this Field</br>
 * 
 * @author Florian Wiedner
 * @category ARXFields
 * @return String The String of the XML Representation
 */
public String getXML(){
	 String retval = "";

	    retval += "      <field>" + Const.CR;
	    retval += "        " + XMLHandler.addTagValue( "name", getName() );
	    retval += "        " + XMLHandler.addTagValue( "type", type );
	    retval += "        " + XMLHandler.addTagValue( "transformation", transformation );
	    retval += "        " + XMLHandler.addTagValue( "minimumGen", minimumGen );
	    retval += "        " + XMLHandler.addTagValue( "maximumGen", maximumGen );
	    retval += "        " + XMLHandler.addTagValue( "functionMicro", functionMicro );
	    retval += "        " + XMLHandler.addTagValue( "hierarchie", hierarchie );
	    retval += "        " + XMLHandler.addTagValue( "attributeWeight", attributeWeight );
	    retval += "        " + XMLHandler.addTagValue( "lDiversity", lDiversity );
	    retval += "        " + XMLHandler.addTagValue( "lDiversityVariant", lDiversityVariant );
	    retval += "        " + XMLHandler.addTagValue( "lDiversityC", lDiversityC );
	    retval += "        " + XMLHandler.addTagValue( "tCloseness", tCloseness );
	    retval += "        " + XMLHandler.addTagValue( "tClosenessMeasure", tClosenessMeasure );
	    retval += "        " + XMLHandler.addTagValue( "dDisclosure", dDisclosure );
	    retval += "        " + XMLHandler.addTagValue( "missingDataMicro", (missingDataMicro?"true":"false") );
	    retval += "        " + XMLHandler.addTagValue( "lDiversityEnable", (lDiversityEnable?"true":"false") );
	    retval += "        " + XMLHandler.addTagValue( "tClosenessEnable", (tClosenessEnable?"true":"false") );
	    retval += "        " + XMLHandler.addTagValue( "dDisclosureEnable", (dDisclosureEnable?"true":"false") );
	    retval += "        </field>" + Const.CR;

	    return retval;
}
 
開發者ID:WiednerF,項目名稱:ARXPlugin,代碼行數:33,代碼來源:ARXFields.java

示例2: getXML

/***
 * Generates the XML Output for the Storage of this Region</br>
 * 
 * @author Florian Wiedner
 * @category RegionStore
 * @return String The String of the XML Representation
 */
public String getXML() {
	String retval = "";

	retval += "      <region>" + Const.CR;
	retval += "        " + XMLHandler.addTagValue("name", getName());
	retval += "        " + XMLHandler.addTagValue("sampling", getSampling());
	retval += "        " + XMLHandler.addTagValue("population", getPopulation());
	retval += "        </region>" + Const.CR;

	return retval;
}
 
開發者ID:WiednerF,項目名稱:ARXPlugin,代碼行數:18,代碼來源:RegionStore.java

示例3: getXML

public String getXML() throws KettleValueException {
	String retval = "";
	retval += "		<classname>" + getClassName() + "</classname>" + Const.CR;
       retval += "     <configinfo>" + getConfigInfo() + "</configinfo>" + Const.CR;
	return retval;
}
 
開發者ID:majinju,項目名稱:KettleEasyExpand,代碼行數:6,代碼來源:EasyExpandMeta.java

示例4: getDropColumnStatement

/**
 * Generates the SQL statement to drop a column from the specified table
 *
 * @param tablename   The table to add
 * @param v           The column defined as a value
 * @param tk          the name of the technical key field
 * @param use_autoinc whether or not this field uses auto increment
 * @param pk          the name of the primary key field
 * @param semicolon   whether or not to add a semi-colon behind the statement.
 * @return the SQL statement to drop a column from the specified table
 */
@Override
public String getDropColumnStatement( String tablename, ValueMetaInterface v, String tk, boolean use_autoinc,
                                      String pk, boolean semicolon ) {
  return "ALTER TABLE " + tablename + " DROP COLUMN " + v.getName() + Const.CR;
}
 
開發者ID:inquidia,項目名稱:PentahoSnowflakePlugin,代碼行數:16,代碼來源:SnowflakeDatabaseMeta.java


注:本文中的org.pentaho.di.core.Const.CR屬性示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。