StringReps

edm.edom3.util

Class StringReps


  • java.lang.Object
    • edm.edom3.util.StringReps


  • public class StringReps
    extends java.lang.Object

    Convert between constants and string representiations of these.

    Author:aet

    • Constructor Summary

      Constructors 

      Constructor and Description
      StringReps() 
    • Method Summary

      All Methods Static Methods Concrete Methods 

      Modifier and TypeMethod and Description
      static java.lang.StringgetAccessName(long accessBit, boolean longName)
      Get acces bit names
      static java.lang.StringgetRoleName(long role, boolean longName) 
      • Methods inherited from class java.lang.Object

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

      • StringReps

        public StringReps()
    • Method Detail

      • getAccessName

        public static java.lang.String getAccessName(long accessBit,
                                                     boolean longName)

        Get acces bit names

        Parameters:accessBit - bitflag for object accesslongName - if true use long names, ellse single letter code.Returns:String representation for accessBit

      • getRoleName

        public static java.lang.String getRoleName(long role,
                                                   boolean longName)