public class AlpacaFileToken extends Object implements Serializable
AlpacaFile
Created by mkeathley on 5/25/16.Constructor and Description |
---|
AlpacaFileToken() |
AlpacaFileToken(String pathToken) |
Modifier and Type | Method and Description |
---|---|
String |
getAlternateName() |
String |
getPathToken() |
String |
getSerializedClass() |
AlpacaFile |
retrieve()
Retrieves the
AlpacaFile for this AlpacaFileToken. |
<T extends BroadWorksObjectInformation> |
retrieve(Type type,
co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer)
Retrieves and deserializes the destination into the provided
BroadWorksObjectInformation type. |
Object |
retrieveAndDeserialize(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer)
Retrieves the Object from the FileManager and deserializes the Object.
|
void |
setAlternateName(String alternateName) |
void |
setPathToken(String pathToken) |
void |
setSerializedClass(String serializedClass) |
public AlpacaFileToken()
public AlpacaFileToken(String pathToken)
public String getAlternateName()
public void setAlternateName(String alternateName)
public String getPathToken()
public void setPathToken(String pathToken)
public String getSerializedClass()
public void setSerializedClass(String serializedClass)
@GwtIncompatible public Object retrieveAndDeserialize(co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer) throws HelperException, IOException, ClassNotFoundException
broadWorksServer
- The BroadWorksServer to deserialize into.HelperException
IOException
ClassNotFoundException
@GwtIncompatible public AlpacaFile retrieve() throws HelperException, IOException
AlpacaFile
for this AlpacaFileToken.HelperException
IOException
@GwtIncompatible public <T extends BroadWorksObjectInformation> T retrieve(Type type, co.ecg.alpaca.toolkit.model.BroadWorksServer broadWorksServer) throws HelperException, IOException
BroadWorksObjectInformation
type.T
- The return BroadWorksObjectInformation
type.type
- The Type
to deserialized the backing data.broadWorksServer
- The BroadWorksServer to deserialize into.HelperException
IOException
Copyright © 2016. All rights reserved.