Class QualifiedUsername

java.lang.Object
org.irods.irods4j.high_level.connection.QualifiedUsername

public class QualifiedUsername extends Object
A class which enforces use of fully-qualified iRODS usernames. Instances of this class are readonly.
Since:
0.1.0
  • Constructor Details

    • QualifiedUsername

      public QualifiedUsername(String name, String zone)
      Constructs a fully-qualified username.
      Parameters:
      name - The part of the username preceding the pound sign.
      zone - The part of the username following the pound sign.
      Throws:
      IllegalArgumentException - If the name or zone is null or empty.
      Since:
      0.1.0
  • Method Details

    • getName

      public String getName()
      Returns the part of the username preceding the pound sign.
      Since:
      0.1.0
    • getZone

      public String getZone()
      Returns the part of the username following the pound sign.
      Since:
      0.1.0
    • getQualifiedName

      public String getQualifiedName()
      Returns the fully-qualified username.
      Since:
      0.1.0