public class ApplicationEntity extends Object implements Serializable
A Network AE is an application entity that provides services on a network. A Network AE will have the 16 same functional capability regardless of the particular network connection used. If there are functional differences based on selected network connection, then these are separate Network AEs. If there are 18 functional differences based on other internal structures, then these are separate Network AEs.
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ApplicationEntity(String aeTitle) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAEExtension(AEExtension ext) |
void |
addConnection(Connection conn) |
TransferCapability |
addTransferCapability(TransferCapability tc) |
Association |
connect(ApplicationEntity remote,
AAssociateRQ rq) |
Association |
connect(Connection remote,
AAssociateRQ rq) |
Association |
connect(Connection local,
Connection remote,
AAssociateRQ rq) |
CompatibleConnection |
findCompatibelConnection(ApplicationEntity remote) |
Connection |
findCompatibelConnection(Connection remoteConn) |
String[] |
getAcceptedCallingAETitles() |
<T extends AEExtension> |
getAEExtension(Class<T> clazz) |
<T extends AEExtension> |
getAEExtensionNotNull(Class<T> clazz) |
String |
getAETitle()
Get the AE title for this Network AE.
|
String[] |
getApplicationClusters()
Get the locally defined names for a subset of related applications.
|
List<Connection> |
getConnections() |
String |
getDescription()
Get the description of this network AE
|
Device |
getDevice()
Get the device that is identified by this application entity.
|
DimseRQHandler |
getDimseRQHandler() |
Boolean |
getInstalled() |
String[] |
getPreferredCalledAETitles()
Get the AE Title(s) that are preferred for initiating associations
from this network AE.
|
String[] |
getPreferredCallingAETitles()
Get the AE title(s) that are preferred for accepting associations by
this network AE.
|
String[] |
getSupportedCharacterSets()
Get the Character Set(s) supported by the Network AE for data sets it
receives.
|
Collection<TransferCapability> |
getTransferCapabilities() |
Collection<TransferCapability> |
getTransferCapabilitiesWithRole(TransferCapability.Role role) |
TransferCapability |
getTransferCapabilityFor(String sopClass,
TransferCapability.Role role) |
byte[][] |
getVendorData()
Get any vendor information or configuration specific to this network AE.
|
boolean |
isAcceptedCallingAETitle(String aet) |
boolean |
isAssociationAcceptor()
Determine whether or not this network AE can accept associations.
|
boolean |
isAssociationInitiator()
Determine whether or not this network AE can initiate associations.
|
boolean |
isInstalled()
Determine whether or not this network AE is installed on a network.
|
Collection<AEExtension> |
listAEExtensions() |
protected PresentationContext |
negotiate(AAssociateRQ rq,
AAssociateAC ac,
PresentationContext rqpc) |
StringBuilder |
promptTo(StringBuilder sb,
String indent) |
boolean |
removeAEExtension(AEExtension ext) |
boolean |
removeConnection(Connection conn) |
TransferCapability |
removeTransferCapabilityFor(String sopClass,
TransferCapability.Role role) |
void |
setAcceptedCallingAETitles(Collection<String> acceptedCallingAETs) |
void |
setAcceptedCallingAETitles(String... aets) |
void |
setAETitle(String aet)
Set the AE title for this Network AE.
|
void |
setApplicationClusters(String... clusters) |
protected void |
setApplicationEntityAttributes(ApplicationEntity from) |
void |
setAssociationAcceptor(boolean acceptor)
Set whether or not this network AE can accept associations.
|
void |
setAssociationInitiator(boolean initiator)
Set whether or not this network AE can initiate associations.
|
void |
setDescription(String description)
Set a description of this network AE.
|
void |
setDimseRQHandler(DimseRQHandler dimseRQHandler) |
void |
setInstalled(Boolean installed)
Set whether or not this network AE is installed on a network.
|
void |
setPreferredCalledAETitles(String... aets) |
void |
setPreferredCallingAETitles(String... aets) |
void |
setSupportedCharacterSets(String... characterSets)
Set the Character Set(s) supported by the Network AE for data sets it
receives.
|
void |
setVendorData(byte[]... vendorData)
Set any vendor information or configuration specific to this network AE
|
String |
toString() |
public ApplicationEntity(String aeTitle)
public final Device getDevice()
Device.public final String getAETitle()
public void setAETitle(String aet)
aet - A String containing the AE title.public final String getDescription()
public final void setDescription(String description)
description - A String containing the description.public final byte[][] getVendorData()
public final void setVendorData(byte[]... vendorData)
vendorData - An Object of the vendor data.public String[] getApplicationClusters()
public void setApplicationClusters(String... clusters)
public String[] getPreferredCalledAETitles()
public void setPreferredCalledAETitles(String... aets)
public String[] getPreferredCallingAETitles()
public void setPreferredCallingAETitles(String... aets)
public String[] getAcceptedCallingAETitles()
public void setAcceptedCallingAETitles(String... aets)
public boolean isAcceptedCallingAETitle(String aet)
public String[] getSupportedCharacterSets()
public void setSupportedCharacterSets(String... characterSets)
characterSets - A String array of the supported character sets.public final boolean isAssociationAcceptor()
public final void setAssociationAcceptor(boolean acceptor)
acceptor - A boolean value. True if the Network AE can accept
associations, false otherwise.public final boolean isAssociationInitiator()
public final void setAssociationInitiator(boolean initiator)
initiator - A boolean value. True if the Network AE can accept
associations, false otherwise.public boolean isInstalled()
public final Boolean getInstalled()
public void setInstalled(Boolean installed)
installed - A Boolean value. True if the AE is installed on a network.
If not present, information about the installed status of
the AE is inherited from the devicepublic DimseRQHandler getDimseRQHandler()
public final void setDimseRQHandler(DimseRQHandler dimseRQHandler)
public void addConnection(Connection conn)
public boolean removeConnection(Connection conn)
public List<Connection> getConnections()
public TransferCapability addTransferCapability(TransferCapability tc)
public TransferCapability removeTransferCapabilityFor(String sopClass, TransferCapability.Role role)
public Collection<TransferCapability> getTransferCapabilities()
public Collection<TransferCapability> getTransferCapabilitiesWithRole(TransferCapability.Role role)
public TransferCapability getTransferCapabilityFor(String sopClass, TransferCapability.Role role)
protected PresentationContext negotiate(AAssociateRQ rq, AAssociateAC ac, PresentationContext rqpc)
public Association connect(Connection local, Connection remote, AAssociateRQ rq) throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
public Association connect(Connection remote, AAssociateRQ rq) throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
public Connection findCompatibelConnection(Connection remoteConn) throws IncompatibleConnectionException
IncompatibleConnectionExceptionpublic CompatibleConnection findCompatibelConnection(ApplicationEntity remote) throws IncompatibleConnectionException
IncompatibleConnectionExceptionpublic Association connect(ApplicationEntity remote, AAssociateRQ rq) throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
public StringBuilder promptTo(StringBuilder sb, String indent)
protected void setApplicationEntityAttributes(ApplicationEntity from)
public void setAcceptedCallingAETitles(Collection<String> acceptedCallingAETs)
public void addAEExtension(AEExtension ext)
public boolean removeAEExtension(AEExtension ext)
public Collection<AEExtension> listAEExtensions()
public <T extends AEExtension> T getAEExtension(Class<T> clazz)
public <T extends AEExtension> T getAEExtensionNotNull(Class<T> clazz)
Copyright © 2014 dcm4che.org. All Rights Reserved.