|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferenceEntryInterface
The ReferenceEntryInterface provides a mechanism for setting and getting the attributes of a reference entry. A reference entry simply identifies (references) some data or file (such as a web page) that is external to the package.
Field Summary | |
---|---|
static java.lang.String |
HTML_REFERENCE
|
static java.lang.String |
URL_REFERENCE
|
Method Summary | |
---|---|
java.lang.String |
getReference()
Returns the reference string. |
java.lang.String |
getReferenceType()
Returns the type of reference. |
void |
setReference(java.lang.String reference)
Sets the reference string. |
void |
setReferenceType(java.lang.String referenceType)
Sets the type of reference string. |
Methods inherited from interface com.sas.services.publish.EntryInterface |
---|
getDescription, getNameValuePairs, getURL, isReadOnly, setDescription, setNameValuePairs |
Field Detail |
---|
static final java.lang.String HTML_REFERENCE
static final java.lang.String URL_REFERENCE
Method Detail |
---|
java.lang.String getReference() throws java.rmi.RemoteException, TransportException, java.lang.IllegalStateException
String
The reference string for this entry.
TransportException
- If the transport encounters an error
getting the reference string.
java.rmi.RemoteException
- If a network anomaly is encountered.
java.lang.IllegalStateException
- If the package containing this entry is already closed.void setReference(java.lang.String reference) throws java.rmi.RemoteException, java.lang.IllegalStateException
reference
- The reference string for this entry.
java.lang.IllegalStateException
- If this entry is read only or if the
result package containing this entry has already been closed.
java.rmi.RemoteException
- If a network anomaly is encountered.java.lang.String getReferenceType() throws java.rmi.RemoteException, TransportException, java.lang.IllegalStateException
String
The type of refrence,
ReferenceEntryInterface.URL_REFERENCE
or ReferenceEntryInterface.HTML_REFERENCE
TransportException
- If the transport encounters an error
getting the reference type.
java.rmi.RemoteException
- If a network anomaly is encountered.
java.lang.IllegalStateException
- If the package containing this entry
has already been closed.void setReferenceType(java.lang.String referenceType) throws java.rmi.RemoteException, java.lang.IllegalStateException
referenceType
- The reference type.
Valid reference types include
ReferenceEntryInterface.URL_REFERENCE
or ReferenceEntryInterface.HTML_REFERENCE
java.lang.IllegalStateException
- If this entry is read only or if the package
containing this entry has already been closed.
java.rmi.RemoteException
- If a network anomaly is encountered.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |