public Type getParentType()
    {
        Type ret = null;
        if (this.parentTypeId != null && this.parentTypeId != 0) {
            try {
                ret = Type.get(this.parentTypeId);
            } catch (final CacheReloadException e) {
                Type.LOG.error("Could not read parentType for id: {}", this.parentTypeId);
            }
        }
        return ret;
    }
public Type getParentType ( ) { Type ret = null ; if ( this . parentTypeId != null && this . parentTypeId != 0 ) { try { ret = Type . get ( this . parentTypeId ) ; } catch ( final CacheReloadException e ) { Type . LOG . error ( "Could not read parentType for id: {}" , this . parentTypeId ) ; } } return ret ; }
This is the getter method for instance variable {@link #parentType}.

@return value of instance variable {@link #parentType}
@see #parentType
@see #setParentType