Class IntegrationKeyAlias


  • public class IntegrationKeyAlias
    extends java.lang.Object
    This class takes the integrationKey Alias string formatted like this Type1_prop1|Type2_prop2|... and turns it into an ordered map of EntityType to its key properties.
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegrationKeyAlias​(java.lang.String alias)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getProperties​(java.lang.String type)
      Returns all key property names for the given entity type
      java.util.Set<java.lang.String> getTypes()
      All types in this integrationKey Alias.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntegrationKeyAlias

        public IntegrationKeyAlias​(java.lang.String alias)
    • Method Detail

      • getTypes

        public java.util.Set<java.lang.String> getTypes()
        All types in this integrationKey Alias. Note that types are not in original Alias order
        Returns:
        types returned not in order
      • getProperties

        public java.util.List<java.lang.String> getProperties​(java.lang.String type)
        Returns all key property names for the given entity type
        Parameters:
        type - entity type to get property value for
        Returns:
        list of key properties