private UserAlias getUserAlias ( Object attribute ) { if ( m_userAlias != null ) { return m_userAlias ; } if ( ! ( attribute instanceof String ) ) { return null ; } if ( m_alias == null ) { return null ; } if ( m_aliasPath == null ) { boolean allPathsAliased = true ; return new UserAlias ( m_alias , ( String ) attribute , allPathsAliased ) ; } return new UserAlias ( m_alias , ( String ) attribute , m_aliasPath ) ; }
Retrieves or if necessary creates a user alias to be used by a child criteria