|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.storedprocess.metadata.GenericStream
@SASScope(value="ALL") @BinaryCompatibilityOnly public class GenericStream
Describes a design time GenericStream data source or target object.
| Constructor Summary | |
|---|---|
GenericStream()
Constructs and empty Generic Stream Data Source or Data Target object. |
|
| Method Summary | |
|---|---|
boolean |
allowsRewinds()
Describes whether the stream should allows rewinds. |
java.lang.String |
getExpectedContentType()
Returns the expected content type. |
java.lang.String |
getFileref()
Returns the SAS fileref name. |
void |
setAllowRewinds(boolean allowRewinds)
Sets whether rewinding is supported. |
void |
setExpectedContentType(java.lang.String expectedContentType)
Sets the expected content type. |
void |
setFileref(java.lang.String fileref)
Sets the SAS fileref name. |
void |
validate()
Validates the GenericStream. |
| Constructor Detail |
|---|
public GenericStream()
DataSourceOrTarget.setSource(boolean). Rewinding is only supported for data sources and can be
specified via the setAllowRewinds(boolean) method.
| Method Detail |
|---|
public java.lang.String getFileref()
public java.lang.String getExpectedContentType()
public boolean allowsRewinds()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if called on a data targetpublic void setFileref(java.lang.String fileref)
public void setExpectedContentType(java.lang.String expectedContentType)
public void setAllowRewinds(boolean allowRewinds)
public void validate()
throws ServiceException
Names.validateSASFilerefName().
The type should be one of the types listed in #setType(String).
validate in class com.sas.services.storedprocess.metadata.DataSourceOrTargetServiceException - if validation fails
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||