One of ICE, HDFS, S3, GCS, NFS or TCP, according to where this Value is persisted.
@return Short String of the persitance name
964151
public static String nameOfPersist(int x) {
    switch( x ) {
    case ICE : return "ICE";
    case HDFS: return "HDFS";
    case S3  : return "S3";
    case NFS : return "NFS";
    case TCP : return "TCP";
    case GCS : return "GCS";
    default  : return null;
    }
  }
774771
public String getResourceFilename() {
        switch (resourceType) {
        case ANDROID_ASSETS:
            return assetPath
                    .substring(assetPath.lastIndexOf(File.separator) + 1);

        case ANDROID_RESOURCE:
            return resourceFilePath.substring(
                    resourceFilePath.lastIndexOf(File.separator) + 1);

        case LINUX_FILESYSTEM:
            return filePath.substring(filePath.lastIndexOf(File.separator) + 1);

        case NETWORK:
            return url.getPath().substring(url.getPath().lastIndexOf("/") + 1);

        case INPUT_STREAM:
            return inputStreamName;

        default:
            return null;
        }
    }
737195
public static String getLocalHostName() {
        String localHostName = NetUtils.getHostName();
        return SystemPropertiesUtils.getSystemProperty(
                NaviCommonConstant.SYSTEM_PROPERTY_SERVER_HOST_FROM_ENV_4JPAAS2, localHostName);
    }
71989
public String name() {
    String result = location().getPath();

    int slashIndex = result.lastIndexOf('/');
    if (slashIndex != -1) {
      result = result.substring(slashIndex + 1);
    }

    if (result.endsWith(".proto")) {
      result = result.substring(0, result.length() - ".proto".length());
    }

    return result;
  }
982389
public static final String getHostName() {
		if (cachedHostName != null) {
			return cachedHostName;
		}

		// User-defined public hostname
		String name = System.getProperty("hostname");
		if (name == null || name.isEmpty()) {
			try {
				name = InetAddress.getLocalHost().getHostName();
			} catch (Exception ignored) {
				name = null;
			}
		}
		if (name == null || name.isEmpty() || name.contains("localhost")) {
			try {
				name = System.getenv().get("COMPUTERNAME");
			} catch (Exception ignored) {
				name = null;
			}
		}
		if (name == null || name.isEmpty()) {
			cachedHostName = "localhost";
		} else {
			cachedHostName = name.toLowerCase();
		}
		return cachedHostName;
	}
1142880
public String getNameAsSingleString() {
    List<StringType> nameParts = new ArrayList<StringType>();
    nameParts.addAll(getPrefix());
    nameParts.addAll(getGiven());
    nameParts.add(getFamilyElement());
    nameParts.addAll(getSuffix());
    if (nameParts.size() > 0) {
      return joinStringsSpaceSeparated(nameParts);
    } else {
      return getTextElement().getValue();
    }
  }
980472
public String getRefName() {
        // We need to take into consideration whether
        // the event contains the long or short name for Ref
        // Gerrit 2.12 will no longer have short branch names in the
        // RefUpdated event.
        if (refName.startsWith(REFS_HEADS)) {
            return refName.substring(REFS_HEADS.length());
        }
        return refName;
    }
76064
public Set<String> getAttributeNamesSkipId() {
        if (attributeNamesNoId == null) {//no one cares about unfortunate multi-threading timing with 2 instances created
            //if someone does, use DCL with volatile
            Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNames());
            attributesNames.remove(getIdName());
            attributeNamesNoId = attributesNames;
        }
        return attributeNamesNoId;
    }
454843
public String constructShortName() {
        String result = shortName;
        if(dir != null) {
            result = dir + "/" + result;
        }
        if(extension != null) {
            result = result + "." + extension;
        }
        return result;
    }
864752
public final String getDestName()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getDestName");

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getDestName", destName);

    return destName;
  }
77049
public String nextCalledName() {
        if( addr instanceof NbtAddress ) {
            return ((NbtAddress)addr).nextCalledName();
        } else if( calledName != NbtAddress.SMBSERVER_NAME ) {
            calledName = NbtAddress.SMBSERVER_NAME;
            return calledName;
        }
        return null;
    }
686097
public static String getEncryptCertId() {
		if (null == encryptCert) {
			String path = SDKConfig.getConfig().getEncryptCertPath();
			if (!isEmpty(path)) {
				encryptCert = initCert(path);
				return encryptCert.getSerialNumber().toString();
			} else {
				LogUtil.writeErrorLog("acpsdk.encryptCert.path is empty");
				return null;
			}
		} else {
			return encryptCert.getSerialNumber().toString();
		}
	}
901632
public String getName() {
        if (name == null && securityIdentity != null) {
            name = securityIdentity.getPrincipal().getName();
        }

        return name;
    }
42533
public String getHostName() {
        if( addr instanceof NbtAddress ) {
            return ((NbtAddress)addr).getHostName();
        }
        return ((InetAddress)addr).getHostName();
    }
321402
public String getInstanceIdAsString()
    {
        if (mInstanceIdAsString == null)
        {
            mInstanceIdAsString = Bytes.toHexString(getInstanceId(), true);
        }

        return mInstanceIdAsString;
    }
210784
public String getQualifiedTypeNameForFile() {

        String typeName = getTypeNameForFile();
        String qualifiedTypeName = mDoc.qualifiedTypeName();

        int packageLength = qualifiedTypeName.length() - typeName.length();
        if (packageLength <= 0) {
            return typeName;
        }

        String packagePath = qualifiedTypeName.substring(0, packageLength);

        return packagePath + typeName;
    }
1251530
public String getRelativeName() {
		File folder = this.sourceFolder.getAbsoluteFile();
		File file = this.file.getAbsoluteFile();
		String folderName = StringUtils.cleanPath(folder.getPath());
		String fileName = StringUtils.cleanPath(file.getPath());
		Assert.state(fileName.startsWith(folderName), () -> "The file " + fileName
				+ " is not contained in the source folder " + folderName);
		return fileName.substring(folderName.length() + 1);
	}