Class IdIdString


  • public class IdIdString
    extends IdString
    Created with IntelliJ IDEA. User: magnarn Date: 10/15/12 Time: 11:02 AM
    • Constructor Detail

      • IdIdString

        public IdIdString​(java.lang.String namespace,
                          java.lang.String type,
                          java.lang.String keyValues,
                          java.lang.String localId)
        Create an id scheme object. doc:<namespace>:<documentType>:<key-value-pairs>:<namespaceSpecific>
        Parameters:
        namespace - The namespace of this document id.
        type - The type of this document id.
        keyValues - The key/value pairs of this document id.
        localId - The namespace specific part.
    • Method Detail

      • replaceType

        public static java.lang.String replaceType​(java.lang.String id,
                                                   java.lang.String typeName)
      • makeLocation

        public static long makeLocation​(java.lang.String s)
      • getDocType

        public java.lang.String getDocType()
        Overrides:
        getDocType in class IdString
      • getGroup

        public java.lang.String getGroup()
        Overrides:
        getGroup in class IdString