public static String getOverrideAttributeName ( String rawName , String subType , String subId ) { if ( OwnerType . ACTIVITY . equals ( subType ) ) return OVERRIDE_ACTIVITY + subId + ":" + rawName ; else if ( OwnerType . WORK_TRANSITION . equals ( subType ) ) return OVERRIDE_TRANSITION + subId + ":" + rawName ; else if ( OwnerType . PROCESS . equals ( subType ) ) return OVERRIDE_SUBPROC + subId + ":" + rawName ; else return rawName ; }
Returns raw name if subtype is null .