org.infrastructurebuilder.data.model.DataSetInputSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ibdata-api Show documentation
Show all versions of ibdata-api Show documentation
APIs for dealing with data streams
The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.11,
// any modifications will be overwritten.
// ==============================================================
package org.infrastructurebuilder.data.model;
/**
* Class DataSetInputSource.
*
* @version $Revision$ $Date$
*/
public class DataSetInputSource
implements java.io.Serializable, java.lang.Cloneable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
*
*
* The identifier of the deployment model in the
* format {@code ::}.
*
*
*/
private String modelId;
/**
*
*
* The path/URL of the deployment model or {@code
* null} if unknown.
*
*
*/
private String location;
//-----------/
//- Methods -/
//-----------/
/**
* Method clone.
*
* @return DataSetInputSource
*/
public DataSetInputSource clone()
{
try
{
DataSetInputSource copy = (DataSetInputSource) super.clone();
return copy;
}
catch ( java.lang.Exception ex )
{
throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
+ " does not support clone()" ).initCause( ex );
}
} //-- DataSetInputSource clone()
/**
* Get the path/URL of the deployment model or {@code null} if
* unknown.
*
* @return String
*/
public String getLocation()
{
return this.location;
} //-- String getLocation()
/**
* Get the identifier of the deployment model in the format
* {@code ::}.
*
* @return String
*/
public String getModelId()
{
return this.modelId;
} //-- String getModelId()
/**
* Set the path/URL of the deployment model or {@code null} if
* unknown.
*
* @param location
*/
public void setLocation( String location )
{
this.location = location;
} //-- void setLocation( String )
/**
* Set the identifier of the deployment model in the format
* {@code ::}.
*
* @param modelId
*/
public void setModelId( String modelId )
{
this.modelId = modelId;
} //-- void setModelId( String )
@Override
public String toString()
{
return getModelId() + " " + getLocation();
}
}